Merge "Add more logs tracking gesture and recents animation in RecentsView" into main

This commit is contained in:
Alex Chau
2024-04-09 20:32:19 +00:00
committed by Android (Google) Code Review
@@ -2571,6 +2571,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
*/
public void onGestureAnimationStart(
Task[] runningTasks, RotationTouchHelper rotationTouchHelper) {
Log.d(TAG, "onGestureAnimationStart");
mActiveGestureRunningTasks = runningTasks;
// This needs to be called before the other states are set since it can create the task view
if (mOrientationState.setGestureActive(true)) {
@@ -5416,6 +5417,8 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
* Called when a running recents animation has finished or canceled.
*/
public void onRecentsAnimationComplete() {
Log.d(TAG, "onRecentsAnimationComplete - mRecentsAnimationController: "
+ mRecentsAnimationController);
// At this point, the recents animation is not running and if the animation was canceled
// by a display rotation then reset this state to show the screenshot
setRunningTaskViewShowScreenshot(true);