Merge "Unfreeze the surface when the transition is done" into tm-qpr-dev

This commit is contained in:
Louis Chang
2023-05-09 00:48:55 +00:00
committed by Android (Google) Code Review

View File

@@ -1396,6 +1396,9 @@ class WindowContainer<E extends WindowContainer> extends ConfigurationContainer<
} }
void onAppTransitionDone() { void onAppTransitionDone() {
if (mSurfaceFreezer.hasLeash()) {
mSurfaceFreezer.unfreeze(getSyncTransaction());
}
for (int i = mChildren.size() - 1; i >= 0; --i) { for (int i = mChildren.size() - 1; i >= 0; --i) {
final WindowContainer wc = mChildren.get(i); final WindowContainer wc = mChildren.get(i);
wc.onAppTransitionDone(); wc.onAppTransitionDone();