[Android] An intentfilter priority can't be higher than SYSTEM_HIGH_PRIORITY.
Ludovic Fauvet
git at videolan.org
Tue Oct 30 16:21:09 CET 2012
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Tue Oct 30 16:20:10 2012 +0100| [ce6ff54b4bb8ef8471f5761153ceb2338f230258] | committer: Ludovic Fauvet
An intentfilter priority can't be higher than SYSTEM_HIGH_PRIORITY.
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=ce6ff54b4bb8ef8471f5761153ceb2338f230258
---
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 622608d..d468199 100644
--- a/vlc-android/src/org/videolan/vlc/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/AudioService.java
@@ -117,7 +117,7 @@ public class AudioService extends Service {
mEventManager = EventManager.getInstance();
IntentFilter filter = new IntentFilter();
- filter.setPriority(Integer.MAX_VALUE);
+ filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
filter.addAction(ACTION_WIDGET_BACKWARD);
filter.addAction(ACTION_WIDGET_PLAY);
filter.addAction(ACTION_WIDGET_STOP);
More information about the Android
mailing list