Merge "Fix destruction of preserved surfaces for non app windows." into pi-dev

am: 6b683ecf6e

Change-Id: I3498de97f677e62050388e38462632475714e4a4
This commit is contained in:
Rob Carr
2018-04-24 15:42:46 -07:00
committed by android-build-merger

View File

@@ -692,6 +692,7 @@ class RootWindowContainer extends WindowContainer<DisplayContent> {
wallpaperDestroyed = true;
}
win.destroySurfaceUnchecked();
win.mWinAnimator.destroyPreservedSurfaceLocked();
} while (i > 0);
mService.mDestroySurface.clear();
}