From 9d44e81062ee6707fbd2ba1ffa42b22d0cd14755 Mon Sep 17 00:00:00 2001 From: Winson Chung Date: Wed, 13 Jan 2021 15:37:59 -0800 Subject: [PATCH] Temporarily disable jank tracing Bug: 174755489 Test: Temporarily fix NPE Change-Id: Ifeae83a307f396c25d0d072abe19e8cf8493c427 --- .../src/com/android/quickstep/AbsSwipeUpHandler.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java index a7e4741c07..3d5b1c6b83 100644 --- a/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +++ b/quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java @@ -721,10 +721,11 @@ public abstract class AbsSwipeUpHandler, 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);