diff options
author | Tianjie Xu <xunchang@google.com> | 2017-08-15 20:45:49 +0200 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2017-08-15 20:57:17 +0200 |
commit | a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6 (patch) | |
tree | c19b52697b0f414314f451d7e53fca68513f2d2b /update_verifier | |
parent | Merge "Add a new PatchChunk class in imgdiff" (diff) | |
download | android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar.gz android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar.bz2 android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar.lz android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar.xz android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.tar.zst android_bootable_recovery-a009ce05e28f83d1bf7e5bb48f7a094d888b5aa6.zip |
Diffstat (limited to 'update_verifier')
-rw-r--r-- | update_verifier/update_verifier_main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update_verifier/update_verifier_main.cpp b/update_verifier/update_verifier_main.cpp index 46e8bbb59..9dd5a0cc4 100644 --- a/update_verifier/update_verifier_main.cpp +++ b/update_verifier/update_verifier_main.cpp @@ -16,8 +16,14 @@ // See the comments in update_verifier.cpp. +#include <android-base/logging.h> + #include "update_verifier/update_verifier.h" int main(int argc, char** argv) { + // Set up update_verifier logging to be written to kmsg; because we may not have Logd during + // boot time. + android::base::InitLogging(argv, &android::base::KernelLogger); + return update_verifier(argc, argv); } |