Loading quickstep/src/com/android/quickstep/OverviewCommandHelper.kt +2 −2 Original line number Diff line number Diff line Loading @@ -96,10 +96,10 @@ class OverviewCommandHelper( fun canStartHomeSafely(): Boolean = commandQueue.isEmpty() || commandQueue.first().type == HOME /** Clear pending commands from the queue */ /** Clear pending or completed commands from the queue */ fun clearPendingCommands() { Log.d(TAG, "clearing pending commands: $commandQueue") commandQueue.clear() commandQueue.removeAll { it.status != CommandStatus.PROCESSING } } /** Loading quickstep/src/com/android/quickstep/views/TaskView.kt +4 −1 Original line number Diff line number Diff line Loading @@ -1042,7 +1042,10 @@ constructor( ActiveGestureErrorDetector.GestureEvent.EXPECTING_TASK_APPEARED ) val recentsView = recentsView ?: return null if (recentsView.runningTaskViewId != -1) { if ( recentsView.runningTaskViewId != -1 && recentsView.mRecentsAnimationController != null ) { recentsView.onTaskLaunchedInLiveTileMode() // Return a fresh callback in the live tile case, so that it's not accidentally Loading Loading
quickstep/src/com/android/quickstep/OverviewCommandHelper.kt +2 −2 Original line number Diff line number Diff line Loading @@ -96,10 +96,10 @@ class OverviewCommandHelper( fun canStartHomeSafely(): Boolean = commandQueue.isEmpty() || commandQueue.first().type == HOME /** Clear pending commands from the queue */ /** Clear pending or completed commands from the queue */ fun clearPendingCommands() { Log.d(TAG, "clearing pending commands: $commandQueue") commandQueue.clear() commandQueue.removeAll { it.status != CommandStatus.PROCESSING } } /** Loading
quickstep/src/com/android/quickstep/views/TaskView.kt +4 −1 Original line number Diff line number Diff line Loading @@ -1042,7 +1042,10 @@ constructor( ActiveGestureErrorDetector.GestureEvent.EXPECTING_TASK_APPEARED ) val recentsView = recentsView ?: return null if (recentsView.runningTaskViewId != -1) { if ( recentsView.runningTaskViewId != -1 && recentsView.mRecentsAnimationController != null ) { recentsView.onTaskLaunchedInLiveTileMode() // Return a fresh callback in the live tile case, so that it's not accidentally Loading