[Android] PhoneStateReceiver won't receive anything if it is not exported
Sébastien Toque
git at videolan.org
Wed Jul 4 07:32:57 CEST 2012
android | branch: master | Sébastien Toque <xilasz at gmail.com> | Wed Jul 4 07:17:59 2012 +0200| [d0b93a1ef1c9e4ad8ad74df848294d1d09172354] | committer: Sébastien Toque
PhoneStateReceiver won't receive anything if it is not exported
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=d0b93a1ef1c9e4ad8ad74df848294d1d09172354
---
vlc-android/AndroidManifest.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 8b13363..2f31805 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -104,8 +104,7 @@
<service android:name=".AudioService" />
<receiver
- android:name="PhoneStateReceiver"
- android:exported="false">
+ android:name="PhoneStateReceiver">
<intent-filter>
<action android:name="android.intent.action.PHONE_STATE" />
</intent-filter>
More information about the Android
mailing list