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

Commit 9c551fef authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't assume SYSTEM is current user on boot"

parents 55f7a2c0 db49bea1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ public class LocationManagerService extends ILocationManager.Stub {
        // the user being changed will cause a reload of all user specific settings, which causes
        // provider initialization, and propagates changes until a steady state is reached
        mCurrentUserId = UserHandle.USER_NULL;
        onUserChangedLocked(UserHandle.USER_SYSTEM);
        onUserChangedLocked(ActivityManager.getCurrentUser());

        // initialize in-memory settings values
        onBackgroundThrottleWhitelistChangedLocked();