Remove unused API
getNetworkProviderPackage() has been replaced by isProviderPackage(). Bug: 123766886 Test: manually Change-Id: I39eda1910af0d298beabc224ab33c35190d0e21f
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user