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

Commit a3143b81 authored by Steven Ng's avatar Steven Ng
Browse files

Temporarily add wellbeing protection flag to use MANAGE_ROLE_HOLDERS in RVC

STOPSHIP bug: 145526313

Test: Flash and install the local change. Then, call RoleManager#addRoleHolderAsUser
      from Digital Wellbeing. API call was successful.

Bug: 145529683
Change-Id: Iaa3936cc977302ac5c160863d3ca44f3b2c02f5c
parent 5605a0fe
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3536,9 +3536,10 @@
        android:protectionLevel="signature|privileged" />

    <!-- @SystemApi Allows an application to manage the holders of a role.
         @hide -->
         @hide
         STOPSHIP b/145526313: Remove wellbeing protection flag from MANAGE_ROLE_HOLDERS. -->
    <permission android:name="android.permission.MANAGE_ROLE_HOLDERS"
                android:protectionLevel="signature|installer|telephony" />
                android:protectionLevel="signature|installer|telephony|wellbeing" />

    <!-- @SystemApi Allows an application to observe role holder changes.
         @hide -->