Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e53eba04 authored by Debashish Chatterjee's avatar Debashish Chatterjee
Browse files

Removed permission READ_WRITE_OWN_VOICEMAIL from framework/base.

This permission has now been replaced by ADD_VOICEMAIL.

Bug: 5098551
Change-Id: Idc993f1674a66f0df3ec699ed14b2e5cfedfe3e8
parent 09f6d67f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@ package android {
    field public static final java.lang.String READ_SMS = "android.permission.READ_SMS";
    field public static final java.lang.String READ_SYNC_SETTINGS = "android.permission.READ_SYNC_SETTINGS";
    field public static final java.lang.String READ_SYNC_STATS = "android.permission.READ_SYNC_STATS";
    field public static final java.lang.String READ_WRITE_OWN_VOICEMAIL = "com.android.voicemail.permission.READ_WRITE_OWN_VOICEMAIL";
    field public static final java.lang.String REBOOT = "android.permission.REBOOT";
    field public static final java.lang.String RECEIVE_BOOT_COMPLETED = "android.permission.RECEIVE_BOOT_COMPLETED";
    field public static final java.lang.String RECEIVE_MMS = "android.permission.RECEIVE_MMS";
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ import android.provider.CallLog.Calls;
 * </ul>
 *
 * <P> The minimum permission needed to access this content provider is
 * {@link Manifest.permission#READ_WRITE_OWN_VOICEMAIL}
 * {@link Manifest.permission#ADD_VOICEMAIL}
 *
 * <P>Voicemails are inserted by what is called as a "voicemail source"
 * application, which is responsible for syncing voicemail data between a remote
+1 −11
Original line number Diff line number Diff line
@@ -292,16 +292,6 @@
        android:description="@string/permdesc_setAlarm"
        android:protectionLevel="normal" />

   <!-- Allows an application to read/write the voicemails owned by its own
        package. -->
   <!--  TODO: delete this permission when dependent content provider &
        application code has been migrated to use ADD_VOICEMAIL instead -->
    <permission android:name="com.android.voicemail.permission.READ_WRITE_OWN_VOICEMAIL"
        android:permissionGroup="android.permission-group.PERSONAL_INFO"
        android:protectionLevel="dangerous"
        android:label="@string/permlab_readWriteOwnVoicemail"
        android:description="@string/permdesc_readWriteOwnVoicemail" />

   <!-- Allows an application to add voicemails into the system. -->
    <permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL"
        android:permissionGroup="android.permission-group.PERSONAL_INFO"
+0 −8
Original line number Diff line number Diff line
@@ -2157,14 +2157,6 @@
      an installed alarm clock application. Some alarm clock applications may
      not implement this feature.</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_readWriteOwnVoicemail">Access voicemails managed by this application</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_readWriteOwnVoicemail">Allows the application to store and retrieve only
      voicemails that its associated service can access.</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>