summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Zim <zezeozue@google.com> 2024-03-14 17:26:07 +0000
committer Zim <zezeozue@google.com> 2024-03-14 18:33:59 +0000
commit500d40b68d14d010a3da1f1f5345b3aa128aaf3d (patch)
tree1b4db9253d3f3b653408545b305b710e00646baf /libs/input/SpriteController.cpp
parent7e37a4b06f652f8daf920f888715c9f8736dae15 (diff)
Fix check for whether a trace tag is enabled
With the introduction of libperfetto_tracing, we need to check both perfetto track_events and atrace categories to determine if a trace tag is enabled. Perfetto SDK doesn't expose a list (or bitmask) of all enabled categories, but we can check if a specific category is enabled. Rewrote the internal impl for Trace#isTagEnabled to pass the tag into native and return a boolean instead of getting all the enabled tags from native and checking in Java. Test: atest libtracing_perfetto_tests Bug: 303199244 Change-Id: I4aa67bdcd86f15ec723955bb3619015fcb16063e
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions