[Android] Fix double tap to seek crash
Nicolas Pomepuy
git at videolan.org
Wed Jul 10 13:16:53 UTC 2024
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jul 10 11:56:41 2024 +0200| [43efb3ad2d4318a7af834d5702bc7aed36dab03f] | committer: Duncan McNamara
Fix double tap to seek crash
> https://code.videolan.org/videolan/vlc-android/commit/43efb3ad2d4318a7af834d5702bc7aed36dab03f
---
.../vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
index fe8d9f3b69..c603691ba5 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoTouchDelegate.kt
@@ -525,6 +525,7 @@ class VideoTouchDelegate(private val player: VideoPlayerActivity,
val sb = StringBuilder()
val seekForward = delta >= 0
+ initSeekOverlay()
if (lastSeekWasForward != seekForward) {
animatorSet.cancel()
hideSeekOverlay(true)
More information about the Android
mailing list