Loading services/core/java/com/android/server/LocationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1176,7 +1176,7 @@ public class LocationManagerService extends ILocationManager.Stub { @GuardedBy("mLock") public boolean isUseableForUserLocked(int userId) { return userId == mCurrentUserId && mUseable; return isCurrentProfileLocked(userId) && mUseable; } @GuardedBy("mLock") Loading Loading
services/core/java/com/android/server/LocationManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1176,7 +1176,7 @@ public class LocationManagerService extends ILocationManager.Stub { @GuardedBy("mLock") public boolean isUseableForUserLocked(int userId) { return userId == mCurrentUserId && mUseable; return isCurrentProfileLocked(userId) && mUseable; } @GuardedBy("mLock") Loading