commit | 908b002ed23167fb55ddb41c966d9a628fcb2b30 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Tue Jun 08 18:54:09 2021 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Jun 08 19:29:08 2021 +0900 |
tree | df7ee354a7e0501c030c830413453b0b997081a2 | |
parent | e2791b00d347936d5785aced53e870cd40d6f9b2 [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