Rename getAllNetworkStateSnapshot which should be pluralized
Address API review feedback, ConnectivityManager#getAllNetworkStateSnapshot
should be pluralized so rename the method to getAllNetworkStateSnapshots
Bug: 183972554
Test: make, FrameworksNetTests
FrameworksServicesTests
Change-Id: Ic18d17d05984fa2466c962c7843c0ef7183ce77c
This commit is contained in:
@@ -1425,9 +1425,9 @@ public class ConnectivityManager {
|
||||
android.Manifest.permission.NETWORK_STACK,
|
||||
android.Manifest.permission.NETWORK_SETTINGS})
|
||||
@NonNull
|
||||
public List<NetworkStateSnapshot> getAllNetworkStateSnapshot() {
|
||||
public List<NetworkStateSnapshot> getAllNetworkStateSnapshots() {
|
||||
try {
|
||||
return mService.getAllNetworkStateSnapshot();
|
||||
return mService.getAllNetworkStateSnapshots();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user