[Android] Fix seek button listener not initialized in the Video Player

Nicolas Pomepuy git at videolan.org
Wed Nov 10 08:10:44 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Nov  4 08:12:18 2021 +0100| [25b026c9fa986d9b798de8d6e3900973e13b948a] | committer: Nicolas Pomepuy

Fix seek button listener not initialized in the Video Player

> https://code.videolan.org/videolan/vlc-android/commit/25b026c9fa986d9b798de8d6e3900973e13b948a
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
index 8fdece788..0843acc83 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerOverlayDelegate.kt
@@ -432,7 +432,7 @@ class VideoPlayerOverlayDelegate (private val player: VideoPlayerActivity) {
                 updateTitleConstraints()
                 updateHudMargins()
 
-                if (seekButtons) initSeekButton()
+                initSeekButton()
 
 
                 resetHudLayout()



More information about the Android mailing list