Allow not Home system apps access hidden profile.

Some system apps need to call Launcher Apps APIs for private profile
(e.g. to power Launcher apps suggestion) but can't have the HOME role.

This change relaxes the restriction and only requires the privileged permission.

Bug: 329839558
Test: atest LauncherAppsForHiddenProfilesTest
Flag: android.multiuser.enable_launcher_apps_hidden_profile_checksi
DEVELOPMENT

Change-Id: If2305a49c0ce5fabaea00ed035290fce916c699a
1 file changed