Fixed that data connections not tearing down when APN set id changes

When APN set id changes (by changing the preferred APN in settings),
the existing data connections from previous APN set id should be
torn down. Fixed by checking the APN set id when building the
waiting APN list and tethering APN list.

Fix: 159761970
Test: DcTrackerTest
Change-Id: I626f871b64d50127feece80f018272e51ad1c66c
This commit is contained in:
Jack Yu
2020-07-07 17:21:17 -07:00
parent 62a641a82e
commit 715073fc69

View File

@@ -3946,8 +3946,7 @@ public final class Telephony {
/**
* The APN set id. When the user manually selects an APN or the framework sets an APN as
* preferred, all APNs with the same set id as the selected APN should be prioritized over
* APNs in other sets.
* preferred, the device can only use APNs with the same set id as the selected APN.
* <p>Type: INTEGER</p>
* @hide
*/