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

Commit 9d44e810 authored by Winson Chung's avatar Winson Chung
Browse files

Temporarily disable jank tracing

Bug: 174755489
Test: Temporarily fix NPE
Change-Id: Ifeae83a307f396c25d0d072abe19e8cf8493c427
parent 278f231b
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);