mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Adding jank tracing for some CUJs
Test: checking traces Bug: 169220800 Bug: 169220955 Bug: 169221267 Bug: 169220924 Bug: 169220843 Change-Id: Ia32635764c78139f7e9a616c9fe70ae1a507c1b2
This commit is contained in:
@@ -22,6 +22,8 @@ import static com.android.launcher3.LauncherState.NORMAL;
|
||||
import static com.android.quickstep.SysUINavigationMode.removeShelfFromOverview;
|
||||
import static com.android.systemui.shared.system.ActivityManagerWrapper.CLOSE_SYSTEM_WINDOWS_REASON_HOME_KEY;
|
||||
|
||||
import com.android.systemui.shared.system.InteractionJankMonitorWrapper;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.content.Intent;
|
||||
@@ -307,4 +309,10 @@ public abstract class BaseQuickstepLauncher extends Launcher
|
||||
public void setHintUserWillBeActive() {
|
||||
addActivityFlags(ACTIVITY_STATE_USER_WILL_BE_ACTIVE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAttachedToWindow() {
|
||||
super.onAttachedToWindow();
|
||||
InteractionJankMonitorWrapper.init(getWindow().getDecorView());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user