Remove unused API

getNetworkProviderPackage() has been replaced by isProviderPackage().

Bug: 123766886
Test: manually
Change-Id: I39eda1910af0d298beabc224ab33c35190d0e21f
This commit is contained in:
Soonil Nagarkar
2019-02-04 17:07:41 -08:00
parent 2ce83543e9
commit ec2718d4e8
5 changed files with 0 additions and 34 deletions

View File

@@ -2409,21 +2409,6 @@ public class LocationManager {
}
}
/**
* Return the package that implements the {@link #NETWORK_PROVIDER} functionality.
*
* @hide
*/
@SystemApi
public @Nullable String getNetworkProviderPackage() {
try {
return mService.getNetworkProviderPackage();
} catch (RemoteException e) {
e.rethrowFromSystemServer();
return null;
}
}
/**
* Returns true if the given package name matches a location provider package, and false
* otherwise.