summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author fafaisland <fafaisland@google.com> 2014-06-17 11:22:22 -0700
committer fafaisland <fafaisland@google.com> 2014-06-17 15:51:58 -0700
commit88fb96505ce7587b23479d07ed77412f69a84ce8 (patch)
tree986a7469ba0e617a25bef719e13595b3539e1a37
parent585fc71ea71e594b179bf53522f6201b3858f91c (diff)
Add READ_ALL_VOICEMAIL permission in the core
Bug:15695227 Change-Id: I96bebcd949293679d938b2ec290820d4ed9035fa
-rw-r--r--api/current.txt1
-rw-r--r--core/res/AndroidManifest.xml7
-rw-r--r--core/res/res/values/strings.xml7
3 files changed, 15 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 865d219c4228..a38e611cab5a 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -92,6 +92,7 @@ package android {
field public static final java.lang.String NFC = "android.permission.NFC";
field public static final deprecated java.lang.String PERSISTENT_ACTIVITY = "android.permission.PERSISTENT_ACTIVITY";
field public static final java.lang.String PROCESS_OUTGOING_CALLS = "android.permission.PROCESS_OUTGOING_CALLS";
+ field public static final java.lang.String READ_ALL_VOICEMAIL = "com.android.voicemail.permission.READ_ALL_VOICEMAIL";
field public static final java.lang.String READ_CALENDAR = "android.permission.READ_CALENDAR";
field public static final java.lang.String READ_CALL_LOG = "android.permission.READ_CALL_LOG";
field public static final java.lang.String READ_CONTACTS = "android.permission.READ_CONTACTS";
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index dfe2a58c3d65..de362ede61c8 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -636,6 +636,13 @@
android:label="@string/permlab_addVoicemail"
android:description="@string/permdesc_addVoicemail" />
+ <!-- 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"
+ android:protectionLevel="dangerous"
+ android:label="@string/permlab_readAllVoicemail"
+ android:description="@string/permdesc_readAllVoicemail" />
+
<!-- =============================================== -->
<!-- Permissions for enabling accessibility features -->
<!-- =============================================== -->
diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml
index 391a32c486c9..0f1ef6ce86bd 100644
--- a/core/res/res/values/strings.xml
+++ b/core/res/res/values/strings.xml
@@ -2965,6 +2965,13 @@
to 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_readAllVoicemail">read all voicemail</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_readAllVoicemail">Allows the app to read all your voicemails.</string>
+
+ <!-- Title of an application permission, listed so the user can choose whether
they want to allow the application to do this. -->
<string name="permlab_writeGeolocationPermissions">modify Browser geolocation permissions</string>
<!-- Description of an application permission, listed so the user can choose whether