summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chandru <chandruis@google.com> 2022-07-22 08:37:58 +0000
committer Chandru <chandruis@google.com> 2022-07-29 14:24:32 +0000
commit099cb41d6390c06e1072e42b6502db93cc816fb9 (patch)
treefd9ae0aade294ad9e8aa677cdd7a88cb3e3aba1c /libs/androidfw/StringPool.cpp
parent447919823cfb185f6bc8ab30b593e2519a095fa7 (diff)
Add string literal logger to LogBuffer.
This also adds an exception field to the LogMessage and logs it to logcat. The new method relies on @CompileTimeConstant errorprone annotation to ensure that method is not called with string that is built dynamically. Test: atest LogBufferTest Bug: 239819049 Change-Id: I38560fb144b32f611f1d6a5b238a00cbf3bf0f7c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions