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

Commit 84933225 authored by Mehdi Alizadeh's avatar Mehdi Alizadeh Committed by Android (Google) Code Review
Browse files

Merge "Don't reset default launcher if the user is not loaded"

parents 155e594f 9d36cc22
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -537,9 +537,11 @@ public class ShortcutService extends IShortcutService.Stub {
        synchronized (mLock) {
            // Clear the launcher cache for this user. It will be set again next time the default
            // launcher is read from RoleManager.
            if (isUserLoadedLocked(userId)) {
                getUserShortcutsLocked(userId).setCachedLauncher(null);
            }
        }
    }

    final private IUidObserver mUidObserver = new IUidObserver.Stub() {
        @Override