Ensures that only system can send a SMS_DELIVER intent (prevent from spoofing)

This commit is contained in:
Stéphane BAUSSERON
2016-08-11 12:22:07 +02:00
committed by Stéphane BAUSSERON
parent 0f39237e8e
commit 36567f4944
+2 -1
View File
@@ -415,7 +415,8 @@
<!-- Legacy broadcast receiver for SMS -->
<receiver
android:name=".receiver.SmsReceiverLegacy"
android:enabled="@bool/preKitKat">
android:enabled="@bool/preKitKat"
android:permission="android.permission.BROADCAST_SMS">
<intent-filter android:priority="2147483647">
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>