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

Commit 7714b2cd authored by Alex Chau's avatar Alex Chau
Browse files

Add more logs tracking gesture and recents animation in RecentsView

Bug: 332635097
Test: manual
Flag: None
Change-Id: I6f83806f783344c07f7f59fe87c37b7cc377fff2
parent 962b3d43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2569,6 +2569,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)) {
@@ -5413,6 +5414,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);