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

* commit 'f8ce43ea146cace780cb4f75348d4eca4526660a':
  remove unnecessary switchUser call
This commit is contained in:
Victoria Lease
2014-03-14 17:57:32 +00:00
committed by Android Git Automerger

View File

@@ -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) {