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

Commit 206b3ad7 authored by Soonil Nagarkar's avatar Soonil Nagarkar Committed by Android (Google) Code Review
Browse files

Merge "Fix isProviderEnabled() on work profiles"

parents 81ebf42e 497c1cb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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")