Merge "Fix leaking animation" into nyc-dev
am: 0822a7e272
* commit '0822a7e272645f676712c3c1d927d04667f46baa':
Fix leaking animation
This commit is contained in:
@@ -530,7 +530,7 @@ public class WindowAnimator {
|
||||
for (int i = windows.size() - 1; i >= 0; i--) {
|
||||
final WindowState win = windows.get(i);
|
||||
WindowStateAnimator winAnimator = win.mWinAnimator;
|
||||
if (winAnimator.mSurfaceController == null) {
|
||||
if (winAnimator.mSurfaceController == null || !winAnimator.hasSurface()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user