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

@@ -316,12 +316,4 @@ public abstract class BaseQuickstepLauncher extends Launcher
public void setHintUserWillBeActive() {
addActivityFlags(ACTIVITY_STATE_USER_WILL_BE_ACTIVE);
}
@Override
public void onAttachedToWindow() {
super.onAttachedToWindow();
if (Utilities.ATLEAST_R) {
InteractionJankMonitorWrapper.init(getWindow().getDecorView());
}
}
}