[Android] Fix time no restore for current video

Geoffrey Métais git at videolan.org
Wed Apr 20 15:33:59 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 15:29:25 2016 +0200| [0ecbd5dd022d9ab3ec9eb5dc5f7cc982fe70812d] | committer: Geoffrey Métais

Fix time no restore for current video

> https://code.videolan.org/videolan/vlc-android/commit/0ecbd5dd022d9ab3ec9eb5dc5f7cc982fe70812d
---

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

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 73ad4b9..29804f3 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2838,7 +2838,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
 
                 mLastAudioTrack = media.getAudioTrack();
                 mLastSpuTrack = media.getSpuTrack();
-            } else if (positionInPlaylist == -1) {
+            } else {
                 // not in media library
 
                 if (intentPosition > 0 && mAskResume) {



More information about the Android mailing list