Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 560388cb authored by Steven Terrell's avatar Steven Terrell
Browse files

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
parent 58b9f87c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment