diff options
| author | 2019-11-22 03:36:51 +0000 | |
|---|---|---|
| committer | 2019-11-22 03:36:51 +0000 | |
| commit | e3681d08e97e3917f43fe61fe58bbb2df6184992 (patch) | |
| tree | f8e04729fc4044c1de42e28c2670fdeee3bf578c /location/java | |
| parent | 8bd0310456753faffbe2a522ca9f7dad9b88911a (diff) | |
| parent | 46676918a102b4bc6657e3267280ac9cae3b40e7 (diff) | |
Merge "Updates the description of the provider parameter as per feedback in BUG:111695926." into qt-dev
Diffstat (limited to 'location/java')
| -rw-r--r-- | location/java/android/location/Location.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/location/java/android/location/Location.java b/location/java/android/location/Location.java index 9c36d76cf370..db06399f7376 100644 --- a/location/java/android/location/Location.java +++ b/location/java/android/location/Location.java @@ -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; |