Deprecate location provider status callbacks

Deprecate and remove logic around location provider status.

Bug: 118885128
Test: Tested manually on device
Change-Id: I68289cb5ed22e66532847758c36155a4ce607bbc
This commit is contained in:
Soonil Nagarkar
2018-11-08 11:46:43 -08:00
parent 9a72ec33d7
commit 94749f7ad1
17 changed files with 174 additions and 161 deletions

View File

@@ -34,8 +34,23 @@ import com.android.internal.location.ProviderProperties;
* user-specified criteria.
*/
public class LocationProvider {
/**
* @deprecated Location provider statuses are no longer supported.
*/
@Deprecated
public static final int OUT_OF_SERVICE = 0;
/**
* @deprecated Location provider statuses are no longer supported.
*/
@Deprecated
public static final int TEMPORARILY_UNAVAILABLE = 1;
/**
* @deprecated Location provider statuses are no longer supported.
*/
@Deprecated
public static final int AVAILABLE = 2;
/**