diff options
author | Joe Onorato <joeo@google.com> | 2018-12-14 15:46:27 -0800 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2019-01-26 09:48:40 -0800 |
commit | 70edfa8c31309032b27277f1b897a374dbbd6f23 (patch) | |
tree | 29b14fa9dec09570b70b19a044bbc0549b8e6795 /tools/bit/print.cpp | |
parent | ce0bd06d174460b69594518e5cf35a85e13b73f8 (diff) |
[bit] Use aapt2 instead of aapt, and don't also adb install apps on the system partition
Test: bit services
Change-Id: I7d44ffbb2745b1a6265bbc77f24f885e5f1d3981
Diffstat (limited to 'tools/bit/print.cpp')
-rw-r--r-- | tools/bit/print.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/bit/print.cpp b/tools/bit/print.cpp index 790e0b4b227e..35feda11ec29 100644 --- a/tools/bit/print.cpp +++ b/tools/bit/print.cpp @@ -116,6 +116,20 @@ print_warning(const char* format, ...) } void +print_info(const char* format, ...) +{ + fputs(g_escapeBold, stdout); + + va_list args; + va_start(args, format); + vfprintf(stdout, format, args); + va_end(args); + + fputs(g_escapeEndColor, stdout); + fputc('\n', stdout); +} + +void print_one_line(const char* format, ...) { if (g_stdoutIsTty) { |