[Apn] Copy network type into lingering network type
The lingering network type is actually the bit that controls network torn down. UNKNOWN here means the APN can work on any RAT. Just copy network type into lingering network type, so network torn down can work normally. Fix: 341006308 Test: unit test Change-Id: Ia60ad3e012bec7364aa35535de1363cd7c0ccdda
This commit is contained in:
@@ -70,6 +70,8 @@ data class ApnData(
|
||||
Telephony.Carriers.ROAMING_PROTOCOL to context.convertOptions2Protocol(apnRoaming),
|
||||
Telephony.Carriers.TYPE to apnType,
|
||||
Telephony.Carriers.NETWORK_TYPE_BITMASK to networkType,
|
||||
// Copy network type into lingering network type.
|
||||
Telephony.Carriers.LINGERING_NETWORK_TYPE_BITMASK to networkType,
|
||||
Telephony.Carriers.CARRIER_ENABLED to apnEnable,
|
||||
Telephony.Carriers.EDITED_STATUS to Telephony.Carriers.USER_EDITED,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user