Merge "Add Doc and nullability to LocationManager#getNetworkProviderPackage"

This commit is contained in:
TreeHugger Robot
2018-10-11 01:18:24 +00:00
committed by Android (Google) Code Review

View File

@@ -2380,10 +2380,12 @@ public class LocationManager {
}
/**
* Return the package that implements the {@link #NETWORK_PROVIDER} functionality.
*
* @hide
*/
@SystemApi
public String getNetworkProviderPackage() {
public @Nullable String getNetworkProviderPackage() {
try {
return mService.getNetworkProviderPackage();
} catch (RemoteException e) {