Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4815549 authored by Olivier Nshimiye's avatar Olivier Nshimiye Committed by Android (Google) Code Review
Browse files

Merge "Update LauncherApps#registerCallback javadoc to include changes to user config" into main

parents 1b260e43 7410972f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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.
     */