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

Commit 1917ca94 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix issue with flickering with recents animation"

parents 1252ad9f 876a3eea
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -153,6 +153,10 @@ class RecentsAnimation implements RecentsAnimationCallbacks {
                mWindowManager.prepareAppTransition(TRANSIT_NONE, false);
                mStackSupervisor.ensureActivitiesVisibleLocked(null, 0, false);
                mStackSupervisor.resumeFocusedStackTopActivityLocked();

                // No reason to wait for the pausing activity in this case, as the hiding of
                // surfaces needs to be done immediately.
                mWindowManager.executeAppTransition();
            });
        }
    }
+0 −1
Original line number Diff line number Diff line
@@ -265,7 +265,6 @@ public class RecentsAnimationController {
        mPendingAnimations.clear();

        mService.mInputMonitor.updateInputWindowsLw(true /*force*/);
        mService.scheduleAnimationLocked();
        mService.destroyInputConsumer(INPUT_CONSUMER_RECENTS_ANIMATION);
    }