[Android] fix typo
Sébastien Toque
git at videolan.org
Thu Aug 29 21:47:28 CEST 2013
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Thu Aug 29 21:47:23 2013 +0200| [bf47355e27cc1b8b6d23a69f48fef3b67d839301] | committer: Sébastien Toque
fix typo
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bf47355e27cc1b8b6d23a69f48fef3b67d839301
---
vlc-android/src/org/videolan/vlc/AudioService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/AudioService.java b/vlc-android/src/org/videolan/vlc/AudioService.java
index f145fb9..5e9368f 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -307,7 +307,7 @@ public class AudioService extends Service {
/*
* Launch the activity if needed
*/
- if (action.startsWith(ACTION_REMOTE_GENERIC) && !mLibVLC.isPlaying() && getCurrentMedia() == null) {
+ if (action.startsWith(ACTION_REMOTE_GENERIC) && !mLibVLC.isPlaying() && !hasCurrentMedia()) {
Intent iVlc = new Intent(context, MainActivity.class);
iVlc.putExtra(START_FROM_NOTIFICATION, true);
iVlc.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);
More information about the Android
mailing list