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
Loading
Please register or sign in to comment