Add Jank Tracker
This class ties together widget state tracking and JankData
processing. As well as acting as a controller for Activities to enable
or disable app jank tracking.
It will be responsible for registering callbacks to receive JankData
batches and routing those batches to the JankDataProcessor. It will also
act as an intermediary for widgets to report state to the state tracker.
Bug: 375449447
Test: atest CoreAppJankTestCases
Flag: android.app.jank.detailed_app_jank_metrics_api
Change-Id: I64faefa141480f66c9082ed79e8776fdcd7fe283
2 files changed