summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2024-08-26 13:00:04 +0000
committer Pablo Gamito <pablogamito@google.com> 2024-08-26 13:38:23 +0000
commit5004cd018a10c3053d48989d90215d5db8bba974 (patch)
tree13b2b5c36a466fbb6ce188c8a64e3d4181e3b1cd /libs/androidfw/FileStream.cpp
parent607432e7485d0e9bca6566110711d86808775425 (diff)
Support unprocessed files when Perfetto protologging is not enabled
Some files are not processable by the ProtoLog tool yet because they use newer language features than the java parser we use supports. This means these files will use the default ProtoLog call instead of the generate implementation. The PerfettoProtoLogImpl supports tracing non-processed log messages to Perfetto, but the LogcatOnlyProtoLogImpl which is used when the logging to Perfetto flag is disabled crashes in those cases unless the REQUIRE_PROTOLOGTOOL is set to false. We want to make sure we don't crash in such cases and just warn about the unprocessed file. Flag: EXEMPT small bug fix Bug: 358044587 Change-Id: Ibfa1dbfaa2f7db769c245936ebd0cbb005609f2c
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions