commit | 41fa73d066320cc02a137403bb3f07aabaeb7e65 | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Wed Nov 27 15:41:44 2019 +0900 |
committer | Jooyung Han <jooyung@google.com> | Wed Nov 27 15:42:26 2019 +0900 |
tree | 2b09257a1f3e2fb93a6f04846084877977ba98a3 | |
parent | 0765c8d77b3046cff263c98b7431d5fd26c8dfe4 [diff] |
Use stubs generated by build system instead of hand-crafted stub for libnetd_resolv apex. This change doesn't affect to the Q-device compatibility because netd on Q device can still the hand-crafted stub for libnetd_resolv.so and the shared library is not changed. Bug: N/A Test: m && flash && boot Test: adb shell ldd /system/bin/netd # shows libnetd_resolv.so from apex Change-Id: I185b36e76b4eb57aa8a7954161b2f7fbccfd8b80
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.