Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36567f49 authored by Stéphane BAUSSERON's avatar Stéphane BAUSSERON Committed by Stéphane BAUSSERON
Browse files

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

parent 0f39237e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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>