summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/KeepalivePacketDataUtilTest.java
diff options
context:
space:
mode:
authorlucaslin <lucaslin@google.com>2021-10-21 16:47:26 +0800
committerlucaslin <lucaslin@google.com>2021-10-21 16:47:26 +0800
commit4d441a9b8d65e1f4f777c3b63b592b8e15fac285 (patch)
treef3090da671dc88ccafcb3109e1aba2550cbd9a94 /tests/unit/java/android/net/KeepalivePacketDataUtilTest.java
parent39379a40bd323cc91355bc24f2b23f1d2656db4a (diff)
Wait for network to be validated when setting a valid private DNS
The previous design just set a valid private DNS and checked whether onCapabilitiesChanged() has received and NetworkCapabilities#isPrivateDnsBroken is false. It cannot ensure that the private DNS is working until the network is validated. So change the design to waiting the network to be validated after setting a valid private DNS. Bug: 196769780 Test: atest CtsNetTestCases:ConnectivityManagerTest Change-Id: I9c173a70e2b81788efa2ecbf928acda0379846da
Diffstat (limited to 'tests/unit/java/android/net/KeepalivePacketDataUtilTest.java')
0 files changed, 0 insertions, 0 deletions