Add REMOVE_VOICEMAIL permission to system

Add a permission that will allow any app that has this permission
to remove any voicemails in the user's call log, even those that
don't belong to it.

This will be needed for the unbundled dialer to be able to manage
the user's voicemails.

Bug: 6948882
Change-Id: Idca23ee83e541ba8aef24d6cb7fe09d5adac1e10
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index fa1a563..53f46eb 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -650,13 +650,20 @@
         android:permissionGroupFlags="personalInfo"
         android:priority="280" />
 
-   <!-- Allows an application to add voicemails into the system. -->
+    <!-- Allows an application to add voicemails into the system. -->
     <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
         android:permissionGroup="android.permission-group.VOICEMAIL"
         android:protectionLevel="dangerous"
         android:label="@string/permlab_addVoicemail"
         android:description="@string/permdesc_addVoicemail" />
 
+    <!-- Allows an application to remove any voicemails from the system. -->
+    <permission android:name="com.android.voicemail.permission.REMOVE_VOICEMAIL"
+        android:permissionGroup="android.permission-group.VOICEMAIL"
+        android:protectionLevel="dangerous"
+        android:label="@string/permlab_removeVoicemail"
+        android:description="@string/permdesc_removeVoicemail" />
+
     <!-- Allows an application to read all the voicemails in the system. -->
     <permission android:name="com.android.voicemail.permission.READ_ALL_VOICEMAIL"
         android:permissionGroup="android.permission-group.VOICEMAIL"
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index e017f53..3da6669 100644
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -2963,6 +2963,14 @@
       not implement this feature.</string>
 
     <!-- Title of an application permission, listed so the user can choose whether
+        they want to allow the application to remove voicemails from the user's voicemail
+        inbox. [CHAR LIMIT=NONE] -->
+    <string name="permlab_removeVoicemail">remove voicemails</string>
+    <!-- Description of an application permission, listed so the user can choose whether
+        they want to allow the application to do this. [CHAR LIMIT=NONE] -->
+    <string name="permdesc_removeVoicemail">Allows the app to remove messages from your voicemail inbox.</string>
+
+    <!-- Title of an application permission, listed so the user can choose whether
         they want to allow the application to do this. [CHAR LIMIT=NONE] -->
     <string name="permlab_addVoicemail">add voicemail</string>
     <!-- Description of an application permission, listed so the user can choose whether