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

Commit 36a7748d authored by Victoria Lease's avatar Victoria Lease
Browse files

suggest LocationRequest rather than Criteria

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: Ieb5ef28ab1e6b4b3c4d2b8ceb3a601083b4f8e2f
parent aecee789
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 {