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

Commit 5cff811f authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Add role annotation for READ_VOICEMAIL and WRITE_VOICEMAIL permission.

This facilitates autogranting to the default dialer role holder.

Test: Added CTS test to verify
Fixes: 149731110
Change-Id: I63928133915e3f623dffaf606d100a4f614f1633
parent bba1c64e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1625,16 +1625,16 @@
    <eat-comment />

    <!-- Allows an application to modify and remove existing voicemails in the system.
        <p>Protection level: signature|privileged
        <p>Protection level: signature|privileged|role
    -->
    <permission android:name="com.android.voicemail.permission.WRITE_VOICEMAIL"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged|role" />

    <!-- Allows an application to read voicemails in the system.
         <p>Protection level: signature|privileged
         <p>Protection level: signature|privileged|role
    -->
    <permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"
        android:protectionLevel="signature|privileged" />
        android:protectionLevel="signature|privileged|role" />

    <!-- ======================================= -->
    <!-- Permissions for accessing location info -->