commit | 5448c9e4e79cf2d151b9544da27d5db6e733550f | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Dec 14 16:45:16 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Dec 15 17:50:16 2020 +0800 |
tree | 53066b757b30268dec68004ffa6273a267f60c99 | |
parent | a6853e8b76454013d17191e022ff2204beb8432b [diff] |
Apply PrivateDnsValidationObserver to DnsTlsDispatcher Also aligh the life time of DnsTlsDispatcher with PrivateDnsConfiguration's so that the DnsTlsDispatcher won't miss any notification. Bug: 79727473 Test: cd packages/modules/DnsResolver && atest with the flag on/off Change-Id: Iaf1c809b79373b6846e6535aa6f0c619f430898c
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.