[Android] TV: Always finish video player activiy

Geoffrey Métais git at videolan.org
Fri Apr 3 15:39:54 CEST 2020


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Apr  3 11:00:16 2020 +0200| [2b1c4227b1c9d79a4c2a1a2caf1f354dca6960c8] | committer: Geoffrey Métais

TV: Always finish video player activiy

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

 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 7c5516e66..4ae185826 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -854,7 +854,7 @@ open class VideoPlayerActivity : AppCompatActivity(), IPlaybackSettingsControlle
             if (!isFinishing) {
                 currentAudioTrack = audioTrack
                 currentSpuTrack = spuTrack
-                if (tv && !isInteractive) finish() // Leave player on TV, restauration can be difficult
+                if (tv) finish() // Leave player on TV, restauration can be difficult
             }
 
             if (isMute) mute(false)



More information about the Android mailing list