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

Commit 34c7ed0d authored by Victoria Lease's avatar Victoria Lease
Browse files

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
parent 16d83fd1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,8 +33,8 @@ import com.android.internal.location.ProviderProperties;
 * Criteria} class allows providers to be selected based on
 * user-specified criteria.
 *
 * @deprecated Use the {@link Criteria} class to request location instead of
 * enumerating providers.
 * @deprecated Use the {@link LocationRequest} class to request location
 * instead of enumerating providers.
 */
@Deprecated
public class LocationProvider {