commit | abe293677fa456efa0f1a5bf5742e27634283b6d | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Mon May 24 10:30:04 2021 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Tue Jun 01 10:51:12 2021 +0000 |
tree | 28b558421fc0738848ec3c085aea3614ce1eaadb | |
parent | 946de44b48056ea7631f80743ca99864f68d5d78 [diff] |
Fix log levels and print zip log number - Log levels should use warning unless the program is being crashed. - ZipWriter weirdly doesn't properly convert number to message (or the code implemented tricky). Better to be safe and print both error code and msg. Test: m -j carbugreportd Test: adb push and run the code Bug: 188520351 Change-Id: Ic1f724d1f8cf50d052b5ba392000f30e2c8cd8c0
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.