[Android] AudioService: remove obsoleted check for now

Edward Wang git at videolan.org
Tue Feb 25 02:06:01 CET 2014


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Feb 24 20:00:16 2014 -0500| [d4b0534ba95f0d7ed7b14aad72dd3a7c1f80f458] | committer: Edward Wang

AudioService: remove obsoleted check for now

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=d4b0534ba95f0d7ed7b14aad72dd3a7c1f80f458
---

 vlc-android/src/org/videolan/vlc/AudioService.java |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index 54f74d4..89fafa7 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -576,9 +576,6 @@ public class AudioService extends Service {
         // Preserve playback when switching to video
         hideNotification(false);
 
-        // Don't crash if user stopped the media
-        if(!mLibVLC.isPlaying()) return;
-
         // Switch to the video player & don't lose the currently playing stream
         VideoPlayerActivity.start(VLCApplication.getAppContext(), MRL, title, index, true);
     }



More information about the Android mailing list