[Android] Remove useless code
Geoffrey Métais
git at videolan.org
Tue Mar 7 15:01:31 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Mar 7 14:57:10 2017 +0100| [9d38d0bea36cb8bf49d1d04cbaed222b1c031e66] | committer: Geoffrey Métais
Remove useless code
> https://code.videolan.org/videolan/vlc-android/commit/9d38d0bea36cb8bf49d1d04cbaed222b1c031e66
---
vlc-android/src/org/videolan/vlc/PlaybackService.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 861c3ed..b085e2d 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -168,8 +168,6 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
private PowerManager.WakeLock mWakeLock;
private final AtomicBoolean mExpanding = new AtomicBoolean(false);
- private static boolean mWasPlayingAudio = false; // used only if readPhoneState returns true
-
// Index management
/**
* Stack of previously played indexes, used in shuffle mode
@@ -927,7 +925,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
if (AndroidDevices.showMediaStyle) {
builder.setStyle(new NotificationCompat.MediaStyle()
.setMediaSession(mMediaSession.getSessionToken())
- .setShowActionsInCompactView(new int[] {0,1,2})
+ .setShowActionsInCompactView(0,1,2)
.setShowCancelButton(true)
.setCancelButtonIntent(piStop)
);
More information about the Android
mailing list