[Android] Fix playlist clear on video player resumed
Geoffrey Métais
git at videolan.org
Mon Feb 12 15:55:57 CET 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 12 15:48:08 2018 +0100| [92a9efb3bfc595988fe8633d5caaf55c12a34dc9] | committer: Geoffrey Métais
Fix playlist clear on video player resumed
> https://code.videolan.org/videolan/vlc-android/commit/92a9efb3bfc595988fe8633d5caaf55c12a34dc9
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index d8ba6dbb3..81169f275 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -701,6 +701,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
if (mService != null) mService.removeCallback(this);
mHelper.onStop();
+ // Clear Intent to restore playlist on activity restart
+ setIntent(new Intent());
}
private void restoreBrightness() {
More information about the Android
mailing list