diff options
| author | 2024-02-07 21:09:42 +0000 | |
|---|---|---|
| committer | 2024-02-07 21:09:42 +0000 | |
| commit | bcdd5b45c36e3a05060f543dfb1ae6abab689f0e (patch) | |
| tree | 322619ab8dfff0c6d6f3da4b9b93c6b93cfdf808 | |
| parent | 295f9a6ee040c0710341d70e963fb48187610937 (diff) | |
| parent | 462fac83fcdb6c7417e3f319d807c81a5b6caa7d (diff) | |
Merge "Add a privileged ACCESS_HIDDEN_PROFILES_FULL permission" into main
| -rw-r--r-- | core/api/system-current.txt | 1 | ||||
| -rw-r--r-- | core/res/AndroidManifest.xml | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt index c46ca789b2b7..06524331dbf0 100644 --- a/core/api/system-current.txt +++ b/core/api/system-current.txt @@ -11,6 +11,7 @@ package android { field public static final String ACCESS_DRM_CERTIFICATES = "android.permission.ACCESS_DRM_CERTIFICATES"; field @Deprecated public static final String ACCESS_FM_RADIO = "android.permission.ACCESS_FM_RADIO"; field public static final String ACCESS_FPS_COUNTER = "android.permission.ACCESS_FPS_COUNTER"; + field @FlaggedApi("android.multiuser.flags.enable_permission_to_access_hidden_profiles") public static final String ACCESS_HIDDEN_PROFILES_FULL = "android.permission.ACCESS_HIDDEN_PROFILES_FULL"; field public static final String ACCESS_INSTANT_APPS = "android.permission.ACCESS_INSTANT_APPS"; field @FlaggedApi("com.android.server.telecom.flags.telecom_resolve_hidden_dependencies") public static final String ACCESS_LAST_KNOWN_CELL_ID = "android.permission.ACCESS_LAST_KNOWN_CELL_ID"; field public static final String ACCESS_LOCUS_ID_USAGE_STATS = "android.permission.ACCESS_LOCUS_ID_USAGE_STATS"; diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index c71a8420ae88..5c764e2f0e7d 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -3216,6 +3216,13 @@ android:description="@string/permdesc_accessHiddenProfile" android:protectionLevel="normal" /> + <!-- @SystemApi @hide Allows privileged applications to get details about hidden profile + users. + @FlaggedApi("android.multiuser.flags.enable_permission_to_access_hidden_profiles") --> + <permission + android:name="android.permission.ACCESS_HIDDEN_PROFILES_FULL" + android:protectionLevel="signature|privileged" /> + <!-- @SystemApi @hide Allows starting activities across profiles in the same profile group. --> <permission android:name="android.permission.START_CROSS_PROFILE_ACTIVITIES" android:protectionLevel="signature|role" /> |