Add WRITE_BLOCKED_NUMBERS permission to telephony.
This is needed for notifying the blocked number provider upon texting emergency services.
The notification is considered a write, as it updates internal state.
BUG: 26989170
Change-Id: Ic6b6ba578d85449ce8ae3ea7554bfa51a90e8d3a
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index dddbb32..47987fa 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -129,7 +129,10 @@
<uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" />
<uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" />
<uses-permission android:name="android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST" />
+ <!-- Needed to block messages. -->
<uses-permission android:name="android.permission.READ_BLOCKED_NUMBERS" />
+ <!-- Needed for emergency contact notification. -->
+ <uses-permission android:name="android.permission.WRITE_BLOCKED_NUMBERS" />
<!-- Needed for passing extras with intent ACTION_SHOW_ADMIN_SUPPORT_DETAILS -->
<uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" />