summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/IpSecAlgorithmTest.java
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2021-06-08 18:54:09 +0900
committerRemi NGUYEN VAN <reminv@google.com>2021-06-08 19:29:08 +0900
commit908b002ed23167fb55ddb41c966d9a628fcb2b30 (patch)
treedf7ee354a7e0501c030c830413453b0b997081a2 /tests/unit/java/android/net/IpSecAlgorithmTest.java
parente2791b00d347936d5785aced53e870cd40d6f9b2 (diff)
Fix restorePrivateDnsSetting with null hostnames
When private DNS setting was set to opportunistic (mode) and null (hostname), CtsNetUtils would not restore it. Make sure that private DNS settings are restored after every test. Also fail if restore is called without having saved any setting beforehand. Bug: 190465704 Test: atest CtsNetTestCases Change-Id: Ic5d8d8b729469e0eef89a0b53f166e604264c1ee
Diffstat (limited to 'tests/unit/java/android/net/IpSecAlgorithmTest.java')
0 files changed, 0 insertions, 0 deletions