diff options
| author | 2019-11-21 19:47:23 -0800 | |
|---|---|---|
| committer | 2019-11-21 19:47:23 -0800 | |
| commit | 0c8d3399501226d44c87903bd1360f95c13184d3 (patch) | |
| tree | 129af9f4fce164441c1140fd2a7de43ccf1c3c0b /location/java/android | |
| parent | 6d62047661aedd001d602792c859f7e976038978 (diff) | |
| parent | e3681d08e97e3917f43fe61fe58bbb2df6184992 (diff) | |
Merge "Updates the description of the provider parameter as per feedback in BUG:111695926." into qt-dev
am: e3681d08e9
Change-Id: I927aa4ba7b60bc30de3588dafadc62c9c17109f4
Diffstat (limited to 'location/java/android')
| -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; |