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

Commit a91f3351 authored by David Christie's avatar David Christie Committed by Android Git Automerger
Browse files

am b1be77ef: am e3c754bb: Merge "Ensure LocationRequest\'s worksource defaults...

am b1be77ef: am e3c754bb: Merge "Ensure LocationRequest\'s worksource defaults to null Helps to make sure the service doesn\'t throw a SecurityException for not having the UPDATE_DEVICE_STATS permission." into klp-dev

* commit 'b1be77ef':
  Ensure LocationRequest's worksource defaults to null Helps to make sure the service doesn't throw a SecurityException for not having the UPDATE_DEVICE_STATS permission.
parents e01a0135 b1be77ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ public final class LocationRequest implements Parcelable {
    private long mExpireAt = Long.MAX_VALUE;  // no expiry
    private int mNumUpdates = Integer.MAX_VALUE;  // no expiry
    private float mSmallestDisplacement = 0.0f;    // meters
    private WorkSource mWorkSource = new WorkSource();
    private WorkSource mWorkSource = null;
    private boolean mHideFromAppOps = false; // True if this request shouldn't be counted by AppOps

    private String mProvider = LocationManager.FUSED_PROVIDER;  // for deprecated APIs that explicitly request a provider