Update deprecation docs with more info

Add additional javadoc around LocationProvider deprecation.

Bug: 178651398
Test: na
Change-Id: I601fccaf897400667a4dc4f9a9d1af5150a234a1
This commit is contained in:
Soonil Nagarkar
2021-02-04 08:30:38 -08:00
parent 9ee2e0d368
commit 541499a772

View File

@@ -23,7 +23,9 @@ import android.location.provider.ProviderProperties;
* Information about the properties of a location provider.
*
* @deprecated This class is incapable of representing unknown provider properties and may return
* incorrect results when the properties are unknown.
* incorrect results on the rare occasion when a provider's properties are unknown. Prefer using
* {@link LocationManager#getProviderProperties(String)} to retrieve {@link ProviderProperties}
* instead.
*/
@Deprecated
public class LocationProvider {