* commit 'f8ce43ea146cace780cb4f75348d4eca4526660a': remove unnecessary switchUser call
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user