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

Commit c61e246b authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "remove unnecessary switchUser call" into cm-11.0

parents 74aef4de 1ed0a153
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -470,6 +470,9 @@ public class LocationManagerService extends ILocationManager.Stub {
     * @param userId the new active user's UserId
     */
    private void switchUser(int userId) {
        if (mCurrentUserId == userId) {
            return;
        }
        mBlacklist.switchUser(userId);
        mLocationHandler.removeMessages(MSG_LOCATION_CHANGED);
        synchronized (mLock) {