Loading packages/SystemUI/src/com/android/systemui/navigationbar/gestural/BackPanelController.kt +0 −11 Original line number Diff line number Diff line Loading @@ -371,7 +371,6 @@ internal constructor( // Receiving a CANCEL implies that something else intercepted // the gesture, i.e., the user did not cancel their gesture. // Therefore, disappear immediately, with minimum fanfare. interactionJankMonitor.cancel(CUJ_BACK_PANEL_ARROW) updateArrowState(GestureState.GONE) velocityTracker = null } Loading Loading @@ -883,16 +882,6 @@ internal constructor( previousState = currentState currentState = newState // First, update the jank tracker when (currentState) { GestureState.ENTRY -> { interactionJankMonitor.cancel(CUJ_BACK_PANEL_ARROW) interactionJankMonitor.begin(mView, CUJ_BACK_PANEL_ARROW) } GestureState.GONE -> interactionJankMonitor.end(CUJ_BACK_PANEL_ARROW) else -> {} } when (currentState) { GestureState.CANCELLED -> { backCallback.cancelBack() Loading Loading
packages/SystemUI/src/com/android/systemui/navigationbar/gestural/BackPanelController.kt +0 −11 Original line number Diff line number Diff line Loading @@ -371,7 +371,6 @@ internal constructor( // Receiving a CANCEL implies that something else intercepted // the gesture, i.e., the user did not cancel their gesture. // Therefore, disappear immediately, with minimum fanfare. interactionJankMonitor.cancel(CUJ_BACK_PANEL_ARROW) updateArrowState(GestureState.GONE) velocityTracker = null } Loading Loading @@ -883,16 +882,6 @@ internal constructor( previousState = currentState currentState = newState // First, update the jank tracker when (currentState) { GestureState.ENTRY -> { interactionJankMonitor.cancel(CUJ_BACK_PANEL_ARROW) interactionJankMonitor.begin(mView, CUJ_BACK_PANEL_ARROW) } GestureState.GONE -> interactionJankMonitor.end(CUJ_BACK_PANEL_ARROW) else -> {} } when (currentState) { GestureState.CANCELLED -> { backCallback.cancelBack() Loading