[Android] Increase the hud timeout when hitting play

Nicolas Pomepuy git at videolan.org
Thu Aug 4 15:27:23 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Aug  4 13:28:11 2022 +0200| [7955a8d4d6637a7db6e150581536b0c77c50be55] | committer: Nicolas Pomepuy

Increase the hud timeout when hitting play

Fixes #2635

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

 .../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 3cd4e124e..4a3c71670 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
@@ -1814,7 +1814,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
             overlayDelegate.showOverlayTimeout(OVERLAY_INFINITE)
             pause()
         } else {
-            if (Settings.videoHudDelay != -1) handler.sendEmptyMessageDelayed(FADE_OUT, 300L)
+            if (Settings.videoHudDelay != -1) handler.sendEmptyMessageDelayed(FADE_OUT, 800L)
             play()
         }
     }



More information about the Android mailing list