Skip to content

Commit 588fb15

Browse files
Victoria LeaseAndroid (Google) Code Review
authored andcommitted
Merge "LocationManager permissions cleanup" into jb-mr1-dev
2 parents 0141fae + 37425c3 commit 588fb15

File tree

2 files changed

+154
-101
lines changed

2 files changed

+154
-101
lines changed

location/java/android/location/LocationRequest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,18 @@ public static LocationRequest createFromDeprecatedCriteria(Criteria criteria, lo
221221
/** @hide */
222222
public LocationRequest() { }
223223

224+
/** @hide */
225+
public LocationRequest(LocationRequest src) {
226+
mQuality = src.mQuality;
227+
mInterval = src.mInterval;
228+
mFastestInterval = src.mFastestInterval;
229+
mExplicitFastestInterval = src.mExplicitFastestInterval;
230+
mExpireAt = src.mExpireAt;
231+
mNumUpdates = src.mNumUpdates;
232+
mSmallestDisplacement = src.mSmallestDisplacement;
233+
mProvider = src.mProvider;
234+
}
235+
224236
/**
225237
* Set the quality of the request.
226238
*

0 commit comments

Comments
 (0)