Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec8e9e22 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Temporarily disable jank tracing"

parents 7cb41c35 9d44e810
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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);