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

Commit b95c001f authored by Victoria Lease's avatar Victoria Lease Committed by Android (Google) Code Review
Browse files

Merge "allow connected location providers location access"

parents 2ae118d1 2f5b97c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1795,7 +1795,7 @@ public class LocationManagerService extends ILocationManager.Stub {
            boolean receiverDead = false;

            int receiverUserId = UserHandle.getUserId(receiver.mUid);
            if (receiverUserId != mCurrentUserId) {
            if (receiverUserId != mCurrentUserId && !isUidALocationProvider(receiver.mUid)) {
                if (D) {
                    Log.d(TAG, "skipping loc update for background user " + receiverUserId +
                            " (current user: " + mCurrentUserId + ", app: " +