summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/ConnectivityManagerTest.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-09-24 14:23:46 +0800
committerChiachang Wang <chiachangwang@google.com>2021-09-30 10:32:04 +0000
commit5e54074e6eb84edfcff3af92c3adaadc5a6aff87 (patch)
treeaef426eb8017fa9305454a31b271ac6c5e3c25a2 /tests/unit/java/android/net/ConnectivityManagerTest.java
parenta997db7f408a0198e6d453b801742a0806e60770 (diff)
Restore private dns host name after testing
The helper method in CtsNetUtils will not restore the private dns hostname back if the device private dns mode is not strict mode. It does not cause function break since the host configuration is useful only when the private dns mode is in strict mode. But tests should restore the setting back to its old state to prevent break other tests or erase setttings. Test: atest android.net.cts.ConnectivityManagerTest and check if the private dns server configuration is changed or not after testing Change-Id: I7c85ddac7306c7c3eeac84679d96c4cfb11bd875
Diffstat (limited to 'tests/unit/java/android/net/ConnectivityManagerTest.java')
0 files changed, 0 insertions, 0 deletions