Merge "Address naming nit for local variable"

This commit is contained in:
Chiachang Wang
2021-01-22 00:23:16 +00:00
committed by Android (Google) Code Review

View File

@@ -265,10 +265,10 @@ public final class BatteryStatsService extends IBatteryStats.Stub
public void systemServicesReady() {
mStats.systemServicesReady(mContext);
mWorker.systemServicesReady();
final INetworkManagementService mNMService = INetworkManagementService.Stub.asInterface(
final INetworkManagementService nms = INetworkManagementService.Stub.asInterface(
ServiceManager.getService(Context.NETWORKMANAGEMENT_SERVICE));
try {
mNMService.registerObserver(mActivityChangeObserver);
nms.registerObserver(mActivityChangeObserver);
} catch (RemoteException e) {
Slog.e(TAG, "Could not register INetworkManagement event observer " + e);
}