diff options
| author | 2025-01-13 05:03:36 -0800 | |
|---|---|---|
| committer | 2025-01-13 05:03:36 -0800 | |
| commit | d4815549c24ee190e1ce3f3e0fa13cfc90ca093e (patch) | |
| tree | 18e0dbd473a65b4ff8ebe4f43c1a316206134fe2 | |
| parent | 1b260e43e7db0ac384047b706da30a854caf1b51 (diff) | |
| parent | 7410972fe2d44136a68984c447174cf237fc57ea (diff) | |
Merge "Update LauncherApps#registerCallback javadoc to include changes to user config" into main
| -rw-r--r-- | core/java/android/content/pm/LauncherApps.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/pm/LauncherApps.java b/core/java/android/content/pm/LauncherApps.java index a0c0f122497f..1724d9ff0deb 100644 --- a/core/java/android/content/pm/LauncherApps.java +++ b/core/java/android/content/pm/LauncherApps.java @@ -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 @@ -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. */ |