summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Olivier Nshimiye <onshimiye@google.com> 2025-01-08 09:30:14 +0000
committer Olivier Nshimiye <onshimiye@google.com> 2025-01-08 09:30:14 +0000
commit7410972fe2d44136a68984c447174cf237fc57ea (patch)
tree9cd81911754f5c45548b7de5afb22da75b35d4e4
parent525bb766f492624713a83c67b0952a3c44790579 (diff)
Update LauncherApps#registerCallback javadoc to include changes to user config
Bug: 376692167 Test: N/A Flag: EXEMPT javadoc changes only Change-Id: Ie5484c8d904ca2aeb0311e5aff3e7fffb64785e2
-rw-r--r--core/java/android/content/pm/LauncherApps.java6
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.
*/