[Android] Revert "An intentfilter priority can't be higher than SYSTEM_HIGH_PRIORITY. "

Jean-Baptiste Kempf git at videolan.org
Wed Oct 31 11:20:28 CET 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Oct 31 11:20:01 2012 +0100| [db6af0199c6d2dacdee36408e502244559bc9085] | committer: Jean-Baptiste Kempf

Revert "An intentfilter priority can't be higher than SYSTEM_HIGH_PRIORITY."

This reverts commit ce6ff54b4bb8ef8471f5761153ceb2338f230258.

This is a temporary revert for the release

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

 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 d468199..622608d 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(IntentFilter.SYSTEM_HIGH_PRIORITY);
+        filter.setPriority(Integer.MAX_VALUE);
         filter.addAction(ACTION_WIDGET_BACKWARD);
         filter.addAction(ACTION_WIDGET_PLAY);
         filter.addAction(ACTION_WIDGET_STOP);



More information about the Android mailing list