[Android] Fix ClassCastException
Nicolas Pomepuy
git at videolan.org
Mon Aug 3 13:02:25 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Fri Jul 31 14:49:08 2020 +0200| [18b68d194f1656097b25c6873a4f0e6ff02b753f] | committer: Nicolas Pomepuy
Fix ClassCastException
> https://code.videolan.org/videolan/vlc-android/commit/18b68d194f1656097b25c6873a4f0e6ff02b753f
---
.../vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index 6c30ba78b..11e4413df 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1831,7 +1831,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
showConfirmResumeDialog()
return
} else {
- val rTime = settings.getLong(VIDEO_RESUME_TIME, -1)
+ val rTime = settings.getLong(VIDEO_RESUME_TIME, -1L)
if (rTime > 0) {
if (askResume) {
showConfirmResumeDialog()
More information about the Android
mailing list