diff options
| author | 2024-01-24 17:51:23 +0000 | |
|---|---|---|
| committer | 2024-02-08 15:20:47 +0000 | |
| commit | 50b9f34ec46810212f8858699cc12377843ed812 (patch) | |
| tree | a9c440b77d57d01f1feb4e7ba4e2e25e0c7f4127 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 4c1bdc28c6d91af5e4bfb0ebd48118150748602a (diff) | |
Add private profile checks for LauncherApps APIs
Restrict LauncherApps APIs for private profile:
- Caller must hold HOME role (i.e. default launcher)
- Must hold ACCESS_HIDDEN_PROFILES or ACCESS_HIDDEN_PROFILES_FULL
permissions
Remove temporary recents role holder checks.
Test: atest LauncherAppsTest, LauncherAppsForHiddenProfilesTest
Bug: 25851973
Flag: android.multiuser.enable_launcher_apps_hidden_profile_checks
DEVELOPMENT
Change-Id: Icf65b4329bbbd323f521d1f97b5369e7544111c8
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions