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

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

Merge "OO NOT MERGE allow connected location providers location access" into jb-mr2-dev

parents d28653df d9ba79ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1798,7 +1798,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: " +