Address naming nit for local variable

Follow up from ag/13285126. The locals should not be named like
a member. Update accordingly.

Bug: 170598012
Test: m
Change-Id: I9cc768d3b62ec7a6865189f3f58e5f86399fdc38
This commit is contained in:
Chiachang Wang
2021-01-21 14:22:51 +08:00
parent 9a81afdca8
commit 19940f5133

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);
}