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

Commit 1365d982 authored by Victoria Lease's avatar Victoria Lease Committed by Android Git Automerger
Browse files

am 4cde7734: Merge "remove unnecessary switchUser call"

* commit '4cde7734':
  remove unnecessary switchUser call
parents c0232642 4cde7734
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) {