commit | 072497e6e4652ff27dfc1ab8cc943ffb154556e1 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Sep 22 18:25:01 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Sep 23 06:00:38 2021 +0000 |
tree | 1ebc4ae3c834627376d410d537f6351cba4fb627 | |
parent | 9d8426d010a8ccf220ddfa91dd658310a9f25d2a [diff] |
Fix the bug while updating DoH servers Currently, DoH servers won't be updated correctly when the requested private DNS server is empty or not in available DoH server list. Bug: 200786579 Test: atest Change-Id: Ic6b34e0173ac91924cde14512b1156c0e3fc2e23
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.