commit | 3665a1c991063a4531c93f3d0ccaa3154d3da3e6 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Wed Jun 10 11:47:09 2020 +0000 |
committer | Ken Chen <cken@google.com> | Wed Jun 10 16:37:11 2020 +0000 |
tree | 853a2e63d4c941b486a204a12158c63b7f73beee | |
parent | 8c45bfb848cd6da0258093b6bd37cf4745b1df0a [diff] |
Remove RESOLV_INJECT_CA_CERTIFICATE The cppflags RESOLV_INJECT_CA_CERTIFICATE prevents test CA certificate injection interface to be misused in production build. However, it will also leads to resolv_integration_test fail while the resolver is built for mainline release. Remove RESOLV_INJECT_CA_CERTIFICATE to get test pass. The CA certificate injection interface is still protected by permission check in DnsResolverService::setResolverConfiguration(). Bug: 147792436 Test: 1. build and install com.android.resolv from aml branch 2. atest resolv_integration_test Merged-In: Id03566dcaceab0f8c78fe705cb8f6f6c806082ca Change-Id: Ibb59239b2aa1848f133593333115cd9d41249824 (cherry picked from commit 450aa6bfba55c48c83939db4dc4695042666fac2)
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.