[Android] Prevent hub from hiding when user is seeking with DPAD

Nicolas Pomepuy git at videolan.org
Thu Jul 11 09:45:45 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Jul 11 06:51:11 2019 +0200| [fc9e63c63f7062b8d870d9fd13e002e69a1a0155] | committer: Nicolas Pomepuy

Prevent hub from hiding when user is seeking with DPAD

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index f84d8f082..6dd0605b0 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -300,6 +300,9 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
                 seek(progress.toLong())
                 showInfo(Tools.millisToString(progress.toLong()), 1000)
             }
+            if (fromUser) {
+                showOverlay(true)
+            }
         }
     }
 



More information about the Android mailing list