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

Commit 09d47bbb authored by Victoria Lease's avatar Victoria Lease Committed by Android Git Automerger
Browse files

am c2d934d7: am f8ce43ea: am 1365d982: am 4cde7734: Merge "remove unnecessary switchUser call"

* commit 'c2d934d7':
  remove unnecessary switchUser call
parents 4656ac9f c2d934d7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -457,6 +457,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) {