commit | b9da5e9a8c17c3ca2af6c0c941200abbe29be0f5 | [log] [tgz] |
---|---|---|
author | waynema <waynema@google.com> | Tue Dec 17 14:35:11 2019 +0800 |
committer | waynema <waynema@google.com> | Thu Dec 26 12:00:04 2019 +0800 |
tree | 790afb7e737de664efe0909e2ddfc584d423e629 | |
parent | 2925305b94674b1fc8f3836ceea3b1cbf27e346e [diff] |
Add init value for tlsFingerprints and caCertificate Prevent null pointer exception from changing the version of dnsresolver_aidl_interface from V2 to unstable. Bug:146100043 Test:cd packages/modules/DnsResolver/ & atest Change-Id: Ibdad9b0a3e75474670732b6e5da4305ee9d1da49
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.