Fixed incorrect service state populated
ServiceState.setStateOutOfService does not correctly clean up the information so the old WLAN registration info got populated for the next time use. Bug: 130048577 Test: Telephony sanity tests Change-Id: I7fab7090c22390914af024c44bffd643c13f33e5
This commit is contained in:
@@ -1045,6 +1045,7 @@ public class ServiceState implements Parcelable {
|
||||
mIsEmergencyOnly = false;
|
||||
mLteEarfcnRsrpBoost = 0;
|
||||
mNrFrequencyRange = FREQUENCY_RANGE_UNKNOWN;
|
||||
mNetworkRegistrationInfos.clear();
|
||||
addNetworkRegistrationInfo(new NetworkRegistrationInfo.Builder()
|
||||
.setDomain(NetworkRegistrationInfo.DOMAIN_CS)
|
||||
.setTransportType(AccessNetworkConstants.TRANSPORT_TYPE_WWAN)
|
||||
|
||||
Reference in New Issue
Block a user