Merge "Renamed the variable"

This commit is contained in:
Treehugger Robot
2019-03-22 09:14:14 +00:00
committed by Gerrit Code Review

View File

@@ -1632,12 +1632,12 @@ public class NetworkMonitor extends StateMachine {
return; return;
} }
// See if the data sub is registered for PS services on cell. // See if the data sub is registered for PS services on cell.
final NetworkRegistrationInfo nrs = dataSs.getNetworkRegistrationInfo( final NetworkRegistrationInfo nri = dataSs.getNetworkRegistrationInfo(
NetworkRegistrationInfo.DOMAIN_PS, NetworkRegistrationInfo.DOMAIN_PS,
AccessNetworkConstants.TRANSPORT_TYPE_WWAN); AccessNetworkConstants.TRANSPORT_TYPE_WWAN);
latencyBroadcast.putExtra( latencyBroadcast.putExtra(
NetworkMonitorUtils.EXTRA_CELL_ID, NetworkMonitorUtils.EXTRA_CELL_ID,
nrs == null ? null : nrs.getCellIdentity()); nri == null ? null : nri.getCellIdentity());
latencyBroadcast.putExtra(NetworkMonitorUtils.EXTRA_CONNECTIVITY_TYPE, TYPE_MOBILE); latencyBroadcast.putExtra(NetworkMonitorUtils.EXTRA_CONNECTIVITY_TYPE, TYPE_MOBILE);
} else { } else {
return; return;