summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Pablo Gamito <pablogamito@google.com> 2024-11-08 13:10:26 +0000
committer Pablo Gamito <pablogamito@google.com> 2024-11-20 15:37:51 +0000
commitf85fa9da7d3d6854baee24190f4477c9f6090610 (patch)
tree3d735f8b987542c91cfc0702147dbcdec80a6843 /libs/androidfw/ZipFileRO.cpp
parent33451e9d44033f3dd9e63bf2b5639170434e9918 (diff)
Refactor PerfettoProtoLogImpl classes to take the datasource object directly and be enabled and disabled on demand
This avoid us having to pass a builder function to the class for test, but also means that we can easily re-create an instance when needed and pass the same datasource so we don't end up creating and registering a datasource on each instance creation. We also now have the ability to easily toggle the protolog tracing on demand to easily switch between implementation instances when needed. Flag: android.tracing.perfetto_protolog_tracing Bug: 369560789 Test: atest TracingTests Change-Id: I8da7123cbd665d1c289c4c994db181c4de433826
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions