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

Commit 5861d47b authored by Issei Suzuki's avatar Issei Suzuki
Browse files

Check animation type in ActivityRecord.

ActivityRecord calls WindowContainer#isAnimating at several places
to determine resource related procedures should be delayed.

With hierarchical animation enabled, screen rotation animation and
dimmer animation might affect the result of the predicate unexpectedly.
So restrict animation type only to APP_TRANSITION and WINDOW_ANIMATION.

Bug: 152333373
Bug: 149837574

Test: Manual. Show the emergency dialer, push home button, and shows the
emergency dialer again, then verify no black screen or flicker.

Change-Id: Ia5fb1718a1ddce24991a16a807df92933e93fc1b
parent c522d895
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment