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
Loading
Please register or sign in to comment