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

Commit da06dfe0 authored by Anna Zhuravleva's avatar Anna Zhuravleva Committed by Android (Google) Code Review
Browse files

Merge "Update documentation for permissions to access hidden profiles" into main

parents 87a69b2d 658b5f15
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -3249,7 +3249,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"
@@ -3257,8 +3259,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"