Merge "Temporarily disable jank tracing"

This commit is contained in:
Winson Chung 2021-01-14 03:39:55 +00:00 committed by Android (Google) Code Review
commit ec8e9e22d9
1 changed files with 5 additions and 4 deletions

View File

@ -721,10 +721,11 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
@UiThread
public void onGestureStarted(boolean isLikelyToStartNewTask) {
InteractionJankMonitorWrapper.begin(mRecentsView,
InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH, 2000 /* ms timeout */);
InteractionJankMonitorWrapper.begin(mRecentsView,
InteractionJankMonitorWrapper.CUJ_APP_CLOSE_TO_HOME);
// Temporarily disable this until we have a view that we can use
// InteractionJankMonitorWrapper.begin(mRecentsView,
// InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH, 2000 /* ms timeout */);
// InteractionJankMonitorWrapper.begin(mRecentsView,
// InteractionJankMonitorWrapper.CUJ_APP_CLOSE_TO_HOME);
notifyGestureStartedAsync();
setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */);
mStateCallback.setStateOnUiThread(STATE_GESTURE_STARTED);