Now requires permission for SMS broadcast reciever.

This should prevent other applications from sending spoofed SMS messages
via a broadcast intent.
This commit is contained in:
Charles Munger 2012-12-05 22:07:15 -08:00
parent 84a29df1ee
commit 28326d1c10

View File

@ -137,7 +137,8 @@
<receiver android:name=".service.SmsListener" <receiver android:name=".service.SmsListener"
android:enabled="true" android:enabled="true"
android:exported="true"> android:exported="true"
android:permission="android.permission.BROADCAST_SMS">
<intent-filter android:priority="1001"> <intent-filter android:priority="1001">
<action android:name="android.provider.Telephony.SMS_RECEIVED"></action> <action android:name="android.provider.Telephony.SMS_RECEIVED"></action>
</intent-filter> </intent-filter>