[Android] Video player: Remove useless trigger

Geoffrey Métais git at videolan.org
Mon May 14 15:53:18 CEST 2018


vlc-android | branch: 3.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon May 14 15:52:30 2018 +0200| [3215e251fdcc28dc99e8b966a371b54367f410b6] | committer: Geoffrey Métais

Video player: Remove useless trigger

> https://code.videolan.org/videolan/vlc-android/commit/3215e251fdcc28dc99e8b966a371b54367f410b6
---

 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 0e75681d3..93626bac5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -139,7 +139,6 @@ import org.videolan.vlc.util.Permissions;
 import org.videolan.vlc.util.Strings;
 import org.videolan.vlc.util.SubtitlesDownloader;
 import org.videolan.vlc.util.Util;
-import org.videolan.vlc.util.VLCInstance;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
@@ -1602,9 +1601,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
             case MediaPlayer.Event.Paused:
                 updateOverlayPausePlay();
                 break;
-            case MediaPlayer.Event.Stopped:
-                exitOK();
-                break;
             case MediaPlayer.Event.EncounteredError:
                 encounteredError();
                 break;



More information about the Android mailing list