mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-22 07:57:30 +00:00
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:
parent
84a29df1ee
commit
28326d1c10
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user