Skip to content

Commit 34c7ed0

Browse files
author
Victoria Lease
committed
DO NOT MERGE suggest LocationRequest rather than Criteria
This is a cherry-pick of Ieb5ef28ab1e6b4b3c4d2b8ceb3a601083b4f8e2f from master. LocationProvider's javadoc suggests using Criteria instead of LocationProvider, which is deprecated. Criteria is deprecated, too, now, so we suggest LocationRequest instead. Bug: 7434865 Change-Id: I00375a419c745bb46ff454bc5e4aa0bfac2b3fc3
1 parent 16d83fd commit 34c7ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

location/java/android/location/LocationProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* Criteria} class allows providers to be selected based on
3434
* user-specified criteria.
3535
*
36-
* @deprecated Use the {@link Criteria} class to request location instead of
37-
* enumerating providers.
36+
* @deprecated Use the {@link LocationRequest} class to request location
37+
* instead of enumerating providers.
3838
*/
3939
@Deprecated
4040
public class LocationProvider {

0 commit comments

Comments
 (0)