[Android] Fix a TV UI video player bug preventing from leaving on mobile
Nicolas Pomepuy
git at videolan.org
Thu Aug 12 11:59:07 UTC 2021
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Aug 11 12:18:51 2021 +0200| [8c24544ce5bd715abf48909c0169f3a539f80d84] | committer: Nicolas Pomepuy
Fix a TV UI video player bug preventing from leaving on mobile
Fixes #2126
> https://code.videolan.org/videolan/vlc-android/commit/8c24544ce5bd715abf48909c0169f3a539f80d84
---
.../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 da4c691fd..79527514e 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
@@ -903,7 +903,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
service?.playlistManager?.videoStatsOn?.postValue(false)
} else if (overlayDelegate.isBookmarkShown()) {
overlayDelegate.hideBookmarks()
- } else if (isTv && isShowing && !isLocked) {
+ } else if (AndroidDevices.isAndroidTv && isShowing && !isLocked) {
overlayDelegate.hideOverlay(true)
} else {
exitOK()
More information about the Android
mailing list