Reduce the set_allowed_network_type to one time
Android S has three times set_allowed_network_type after bootup. If those network types are different values, it causes attach issue in modem. Reduce set_allowed_network_type to one time, and framework set allowed network type after carrier config changed. Bug: 190874388 Bug: 187773531 Test: atest CarrierServiceStateTrackerTest atest android.telephony.cts.TelephonyCallbackTest atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java#testSetAllowedNetworkTypesForReason_moreReason atest -c com.android.internal.telephony Change-Id: I17dc6a2953ef8f12c211565813f2953f7e83a472 Merged-In: I17dc6a2953ef8f12c211565813f2953f7e83a472
Loading
Please register or sign in to comment