[Android] Avoid video stats to be displayed again after VideoPlayerActivity has been stopped

Nicolas Pomepuy git at videolan.org
Mon Jul 20 13:30:07 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Jul 20 08:55:39 2020 +0200| [7b20721470a300ba3372213dad78f1280c53f5c5] | committer: Nicolas Pomepuy

Avoid video stats to be displayed again after VideoPlayerActivity has been stopped

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

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

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 0e479286a..6c30ba78b 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
@@ -673,6 +673,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
 
         cleanUI()
         stopPlayback()
+        service?.playlistManager?.videoStatsOn?.postValue(false)
 
         if (savedTime != -1L) settings.putSingle(VIDEO_RESUME_TIME, savedTime)
 



More information about the Android mailing list