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

Commit 658b5f15 authored by Anna Zhuravleva's avatar Anna Zhuravleva
Browse files

Update documentation for permissions to access hidden profiles

Bug: 345194412
Test: presubmit
Change-Id: Ib0fa5328dd73ea82cfc67e219b286687cd55dc80
parent 9cfe4254
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -3244,7 +3244,9 @@
    <permission android:name="android.permission.INTERACT_ACROSS_PROFILES"
        android:protectionLevel="signature|appop" />

    <!-- Allows applications to access profiles with ACCESS_HIDDEN_PROFILES user property
    <!-- Allows applications to access profiles with
        {@code android.content.pm.UserProperties#PROFILE_API_VISIBILITY_HIDDEN} user property, e.g.
        {@link android.os.UserManager#USER_TYPE_PROFILE_PRIVATE}.
        <p>Protection level: normal
        @FlaggedApi("android.multiuser.enable_permission_to_access_hidden_profiles") -->
    <permission android:name="android.permission.ACCESS_HIDDEN_PROFILES"
@@ -3252,8 +3254,10 @@
        android:description="@string/permdesc_accessHiddenProfile"
        android:protectionLevel="normal" />

    <!-- @SystemApi @hide Allows privileged applications to get details about hidden profile
        users.
    <!-- @SystemApi @hide Allows privileged applications to get details about profiles with
        {@code android.content.pm.UserProperties#PROFILE_API_VISIBILITY_HIDDEN} user property, e.g.
        {@link android.os.UserManager#USER_TYPE_PROFILE_PRIVATE}. Removes extra requirements such
        as having {@link android.app.role.RoleManager#ROLE_HOME} role for LauncherApps APIs.
        @FlaggedApi("android.multiuser.enable_permission_to_access_hidden_profiles") -->
    <permission
        android:name="android.permission.ACCESS_HIDDEN_PROFILES_FULL"