summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-04-09 00:21:02 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-04-09 00:21:02 +0000
commita23f461e1b75c50692c41e5eb4cb41e1922c9608 (patch)
treeeaa64f0dfe4ea482272d860a68055b3cb5097f83
parent721bf68ba609e5c4457f38b0ba5c4cf88403e933 (diff)
parent9d11b3818430da3a0ae0ec05c2e56f29966c2706 (diff)
Merge "Fix initialization bug in LocationRequest" into rvc-dev
-rw-r--r--location/java/android/location/LocationRequest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/location/java/android/location/LocationRequest.java b/location/java/android/location/LocationRequest.java
index 4dd1a29d8595..5f0acc8f7647 100644
--- a/location/java/android/location/LocationRequest.java
+++ b/location/java/android/location/LocationRequest.java
@@ -264,8 +264,8 @@ public final class LocationRequest implements Parcelable {
/* numUpdates= */ Integer.MAX_VALUE,
/* smallestDisplacement= */ 0,
/* hideFromAppOps= */ false,
- /* lowPowerMode= */ false,
/* locationSettingsIgnored= */ false,
+ /* lowPowerMode= */ false,
/* workSource= */ null);
}
@@ -282,8 +282,8 @@ public final class LocationRequest implements Parcelable {
src.mNumUpdates,
src.mSmallestDisplacement,
src.mHideFromAppOps,
- src.mLowPowerMode,
src.mLocationSettingsIgnored,
+ src.mLowPowerMode,
src.mWorkSource);
}