Migrate FrameTracker to use ST Jank information (2/2)

Test: FrameTrackerTest
Test: Systrace, perform CUJ
Bug: 174755489
Change-Id: I6abecbd9b244f443c9df389938d82427f9584037
This commit is contained in:
Jorim Jaggi
2020-12-04 23:00:01 +01:00
committed by Winson Chung
parent 992ab43390
commit 6478fa649a
5 changed files with 14 additions and 16 deletions

View File

@@ -175,7 +175,9 @@ public class OverviewCommandHelper {
return;
}
InteractionJankMonitorWrapper.begin(InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
InteractionJankMonitorWrapper.begin(
mActivityInterface.getCreatedActivity().getRootView(),
InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
// Otherwise, start overview.
mListener = mActivityInterface.createActivityInitListener(this::onActivityReady);