summaryrefslogtreecommitdiffstats
path: root/android/AndroidManifest.xml
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2011-03-09 18:04:05 +0000
committerAntoine Cellerier <dionoea@videolan.org>2011-03-09 18:04:05 +0000
commit64cf0dd765dc11058a02024032784a9f2eb494b5 (patch)
tree436e067a43af43a1444763b9fde915213a6051e6 /android/AndroidManifest.xml
parentc9190dc188edb3dbea89e7ef1be7bc0dd33eba19 (diff)
downloadrockbox-64cf0dd765dc11058a02024032784a9f2eb494b5.tar.gz
rockbox-64cf0dd765dc11058a02024032784a9f2eb494b5.tar.bz2
rockbox-64cf0dd765dc11058a02024032784a9f2eb494b5.zip
Looks like Android 2.3 is more strict when enforcing permissions. Explicitly declare allowed intents under the Service tag in AndroidManifest.xml.
Remove useless rockbox intent class. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android/AndroidManifest.xml')
-rw-r--r--android/AndroidManifest.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml
index d8264da142..faf404fb14 100644
--- a/android/AndroidManifest.xml
+++ b/android/AndroidManifest.xml
@@ -19,7 +19,12 @@
</intent-filter>
</activity>
- <service android:name=".RockboxService"/>
+ <service android:name=".RockboxService">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <action android:name="android.intent.action.MEDIA_BUTTON" />
+ </intent-filter>
+ </service>
<receiver android:name=".Helper.MediaButtonReceiver$MediaReceiver"
android:enabled="true"