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

Commit 46676918 authored by David Castro's avatar David Castro
Browse files

Updates the description of the provider parameter as per feedback in

BUG:111695926.

Change-Id: I74fa22d7733d06616be44da3923649271584090c
parent 330701c1
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -158,7 +158,10 @@ public class Location implements Parcelable {
     * <p>By default time, latitude and longitude are 0, and the location
     * has no bearing, altitude, speed, accuracy or extras.
     *
     * @param provider the name of the provider that generated this location
     * @param provider the source that provides the location. It can be of type
     * {@link LocationManager#GPS_PROVIDER}, {@link LocationManager#NETWORK_PROVIDER},
     * or {@link LocationManager#PASSIVE_PROVIDER}. You can also define your own
     * provider string, in which case an empty string is a valid provider.
     */
    public Location(String provider) {
        mProvider = provider;