[Android] Resume the first video when launching a video playlist

Alexandre Perraud git at videolan.org
Wed Feb 8 17:29:16 CET 2017


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Feb  7 17:59:18 2017 +0100| [3ebaa32ab8a575ad600ef5e316735dbdf3045624] | committer: Alexandre Perraud

Resume the first video when launching a video playlist

> https://code.videolan.org/videolan/vlc-android/commit/3ebaa32ab8a575ad600ef5e316735dbdf3045624
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ----
 1 file changed, 4 deletions(-)

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 62a1c12..d57702e 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -3013,10 +3013,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             positionInPlaylist = extras.getInt(PLAY_EXTRA_OPENED_POSITION, -1);
         }
 
-        if (mService.hasPlaylist()) {
-            fromStart = true;
-        }
-
         if (intent.hasExtra(PLAY_EXTRA_SUBTITLES_LOCATION))
             mSubtitleSelectedFiles.add(extras.getString(PLAY_EXTRA_SUBTITLES_LOCATION));
         if (intent.hasExtra(PLAY_EXTRA_ITEM_TITLE))



More information about the Android mailing list