cleanup and reset waiting apnlist on RAT change
check apn waiting list update during data rat or apn data change.
If the new waiting list is different with the currentWaitingList,
then cleanup the associated data connection and reset apnWaitingList
with the lastest one which matches with both current data rat and apn
settings. Reuse cleanupConnectionsOnUpdatedApns to detect waiting list change
and cleanup the connections. remove the duplicate logic from
setupDataOnConnectableApns
Bug:31252975
Test: runtest --path
frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DcTrackerTest.java
--test-method testUpdateWaitingApnListOnDataRatChange
Merged-In: I8408df09a7b25ed2e17cd38b7bebbb8fd20eca72
Change-Id: I8408df09a7b25ed2e17cd38b7bebbb8fd20eca72
2 files changed