fix: remove invalid protectionLevel on RECEIVE_SMS uses-permission
protectionLevel only applies to app-defined <permission> elements. On a <uses-permission> it misclassifies RECEIVE_SMS so the system never offers the runtime grant dialog.
This commit is contained in:
parent
597a189637
commit
6d05e22259
1 changed files with 1 additions and 3 deletions
|
|
@ -7,9 +7,7 @@
|
|||
<uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" />
|
||||
|
||||
<!-- Required to intercept SMS broadcasts (the app's primary trigger mechanism). -->
|
||||
<uses-permission
|
||||
android:name="android.permission.RECEIVE_SMS"
|
||||
android:protectionLevel="dangerous" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_SMS" />
|
||||
|
||||
<!-- Required for the foreground trailing service and foreground service permission checks. -->
|
||||
<uses-permission
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue