[Android] Remove harmful mediaplayer.stop()

Geoffrey Métais git at videolan.org
Wed Sep 6 15:05:16 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Sep  6 14:36:34 2017 +0200| [04b59d9b251e6c595ee10363698134b34e0c7ce3] | committer: Geoffrey Métais

Remove harmful mediaplayer.stop()

> https://code.videolan.org/videolan/vlc-android/commit/04b59d9b251e6c595ee10363698134b34e0c7ce3
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 --
 1 file changed, 2 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 00eb6870c..6620bed96 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -3192,8 +3192,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         if (mUri != null) {
             MediaWrapper media = null;
             if (!resumePlaylist) {
-                if (hasMedia)
-                    mService.stop();
                 // restore last position
                 final Medialibrary ml = mMedialibrary;
                 media = ml.getMedia(mUri.getScheme().equals("content") ? FileUtils.getUri(mUri) : mUri);



More information about the Android mailing list