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

This commit is contained in:
Rob Carr
2018-04-24 22:32:14 +00:00
committed by Android (Google) Code Review

View File

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