Clear animation when destroying window surface. Because we are not stepping in animations for windows if they don't have a surface, we can't use it as a detached wallpaper target animation. When the surface was destroyed while animating, winAnimator.mAnimating was still true, and never got false, because we didn't call stepAnimation on the WindowAnimator anymore. Thus, we were constantly animating, using a lot of battery (surface flinger was constantly pushing frames) and impacting overall system performance. Bug: 27276043 Change-Id: I8b0943da0908c85740dc1113aedb573fb440f162
…
…
…
Description
No description provided
Languages
Java
77.3%
Kotlin
9.2%
PowerBuilder
6.6%
C++
5.5%
AIDL
1%