summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/src
diff options
context:
space:
mode:
author Steven Terrell <steventerrell@google.com> 2025-02-05 21:14:30 +0000
committer Steven Terrell <steventerrell@google.com> 2025-02-14 04:24:53 +0000
commit560388cb1eff73efd8b352abeefd797c4538ca03 (patch)
treebaab94ce377e3bc592edbf22aed2c44164cf401b /packages/SettingsLib/src
parent58b9f87c1174addde404f7ba2f0599f4a7ac7f44 (diff)
Register For JankData
This change registers a listener that will receive batches of JankData from Surfaceflinger. The registratoin and unregistration of the callback is tied to the lifecycle of the enclosing activity. When an activity is created or resumed a new listener will be registered. When an activity is pasued or deleted the callback will be unregistered. When a batch of JankData is received it is passed to the JankDataProcessor, which will perform frame metric aggregation. Bug: 376115668 Flag: android.app.jank.detailed_app_jank_metrics_logging_enabled Test: atest CoreAppJankTestCases Change-Id: I76ea652bdf54abe3e03d76c5125d69b029babd34
Diffstat (limited to 'packages/SettingsLib/src')
0 files changed, 0 insertions, 0 deletions