Add Android 9 system permission for call blocking

This commit is contained in:
xynngh 2019-12-01 13:47:00 +04:00
parent a3c1fffa3a
commit db6ef17664
3 changed files with 6 additions and 2 deletions

View File

@ -25,7 +25,7 @@ Currently implemented (more or less):
* Showing a notification with some caller info (positive/negative rating, category, number of negative reviews and such) when the phone's ringing. *Works offline.*
* Loading and displaying a list of reviews for a number (accessed by pressing the notification). *Requires internet.*
* Automatic blocking of unwanted calls (may not work on some devices; doesn't work on Android 9+). *Works offline.*
* Automatic blocking of unwanted calls (may not work on some devices; may work as a system app on Android 9; doesn't work on Android 10+). *Works offline.*
* Automatic update of the database (for offline use). *Requires internet.*

View File

@ -8,6 +8,10 @@
<uses-permission android:name="android.permission.READ_CALL_LOG" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<!-- required for call blocking on Android 9, also requires to be installed as a system app -->
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"
tools:ignore="ProtectedPermissions" />
<application
android:name=".App"
android:allowBackup="true"

View File

@ -5,7 +5,7 @@ Features:
* Showing a notification with some caller info (positive/negative rating, category, number of negative reviews and such) when the phone's ringing. ''Works offline.''
* Loading and displaying a list of reviews for a number. ''Requires internet.''
* Automatic blocking of unwanted calls (may not work on some devices; doesn't work on Android 9+). ''Works offline.''
* Automatic blocking of unwanted calls (may not work on some devices; may work as a system app on Android 9; doesn't work on Android 10+). ''Works offline.''
* Automatic update of the database (for offline use). ''Requires internet.''
How to use: