Loading core/java/android/content/pm/LauncherApps.java +6 −0 Original line number Diff line number Diff line Loading @@ -1932,6 +1932,9 @@ public class LauncherApps { * caller should have normal {@link android.Manifest.permission#ACCESS_HIDDEN_PROFILES} * permission and the {@link android.app.role.RoleManager#ROLE_HOME} role. * * <p>This callback will also receive changes to the {@link LauncherUserInfo#getUserConfig()}, * allowing clients to monitor updates to the user-specific configuration. * * @param callback The callback to register. */ // Alternatively, a system app can access this api for private profile if they've been granted Loading @@ -1950,6 +1953,9 @@ public class LauncherApps { * caller should have normal {@link android.Manifest.permission#ACCESS_HIDDEN_PROFILES} * permission and the {@link android.app.role.RoleManager#ROLE_HOME} role. * * <p>This callback will also receive changes to the {@link LauncherUserInfo#getUserConfig()}, * allowing clients to monitor updates to the user-specific configuration. * * @param callback The callback to register. * @param handler that should be used to post callbacks on, may be null. */ Loading Loading
core/java/android/content/pm/LauncherApps.java +6 −0 Original line number Diff line number Diff line Loading @@ -1932,6 +1932,9 @@ public class LauncherApps { * caller should have normal {@link android.Manifest.permission#ACCESS_HIDDEN_PROFILES} * permission and the {@link android.app.role.RoleManager#ROLE_HOME} role. * * <p>This callback will also receive changes to the {@link LauncherUserInfo#getUserConfig()}, * allowing clients to monitor updates to the user-specific configuration. * * @param callback The callback to register. */ // Alternatively, a system app can access this api for private profile if they've been granted Loading @@ -1950,6 +1953,9 @@ public class LauncherApps { * caller should have normal {@link android.Manifest.permission#ACCESS_HIDDEN_PROFILES} * permission and the {@link android.app.role.RoleManager#ROLE_HOME} role. * * <p>This callback will also receive changes to the {@link LauncherUserInfo#getUserConfig()}, * allowing clients to monitor updates to the user-specific configuration. * * @param callback The callback to register. * @param handler that should be used to post callbacks on, may be null. */ Loading