Merge "Handle null ApnSetting in PDCS"
This commit is contained in:
@@ -2009,10 +2009,8 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
ApnSetting apnSetting = preciseState.getApnSetting();
|
|
||||||
|
|
||||||
synchronized (mRecords) {
|
synchronized (mRecords) {
|
||||||
if (validatePhoneId(phoneId)) {
|
if (validatePhoneId(phoneId) && preciseState.getApnSetting() != null) {
|
||||||
Pair<Integer, ApnSetting> key = Pair.create(preciseState.getTransportType(),
|
Pair<Integer, ApnSetting> key = Pair.create(preciseState.getTransportType(),
|
||||||
preciseState.getApnSetting());
|
preciseState.getApnSetting());
|
||||||
PreciseDataConnectionState oldState = mPreciseDataConnectionStates.get(phoneId)
|
PreciseDataConnectionState oldState = mPreciseDataConnectionStates.get(phoneId)
|
||||||
|
|||||||
Reference in New Issue
Block a user