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

Commit b7373537 authored by Victoria Lease's avatar Victoria Lease Committed by Android Git Automerger
Browse files

am acd341d8: Merge "OO NOT MERGE allow connected location providers location...

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

* commit 'acd341d8':
  OO NOT MERGE allow connected location providers location access
parents 211eae98 acd341d8
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: " +