[Android] Delay HUD disappearance after button animation

Geoffrey Métais git at videolan.org
Thu Jul 11 09:47:20 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul 10 19:03:46 2019 +0200| [5ecbddff19a84c66027bbb59a1b412f42eb9b559] | committer: Geoffrey Métais

Delay HUD disappearance after button animation

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

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

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 c2d2617c9..0814a2f65 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -1955,7 +1955,7 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
             showOverlayTimeout(OVERLAY_INFINITE)
             pause()
         } else {
-            hideOverlay(true)
+            handler.sendEmptyMessageDelayed(FADE_OUT, 300L)
             play()
         }
     }



More information about the Android mailing list