summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Ferris2013-10-31 18:25:04 -0500
committerChristopher Ferris2014-01-09 17:09:13 -0600
commit038ac694b36de2b081e62fcfb9b5f4a8c918c533 (patch)
treebde917eef3e385029bee6bd87682705a709ef331 /libutils/Printer.cpp
parentb0751101b090a8732c62ad261fa44e5d6a69a2cc (diff)
downloadplatform-system-core-038ac694b36de2b081e62fcfb9b5f4a8c918c533.tar.gz
platform-system-core-038ac694b36de2b081e62fcfb9b5f4a8c918c533.tar.xz
platform-system-core-038ac694b36de2b081e62fcfb9b5f4a8c918c533.zip
Move CallStack to libbacktrace.
Fix a small bug in the Printer for strings that didn't properly prepend the prefix. (cherry picked from commit 9b0e074c6d38143e01616404a08b0c7aa992f3c3) Change-Id: I78bfa3f76864c34f33fb439bf20dfc85616f1077
Diffstat (limited to 'libutils/Printer.cpp')
-rw-r--r--libutils/Printer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libutils/Printer.cpp b/libutils/Printer.cpp
index ac729e05c..263e7404b 100644
--- a/libutils/Printer.cpp
+++ b/libutils/Printer.cpp
@@ -145,6 +145,7 @@ void String8Printer::printLine(const char* string) {
145 return; 145 return;
146 } 146 }
147 147
148 mTarget->append(mPrefix);
148 mTarget->append(string); 149 mTarget->append(string);
149 mTarget->append("\n"); 150 mTarget->append("\n");
150} 151}