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

Commit 4cde7734 authored by Victoria Lease's avatar Victoria Lease Committed by Gerrit Code Review
Browse files

Merge "remove unnecessary switchUser call"

parents 629daddd d5c69462
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -452,6 +452,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) {