Merge "Unfreeze the surface when the transition is done" into tm-qpr-dev am: 5ebcaa2a60 am: fa63e7a0f5 am: 1467f98f6e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23053887

Change-Id: If5a23a8f686a2e017fa46e3568d4aec6bd5c865c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Louis Chang
2023-05-09 10:49:47 +00:00
committed by Automerger Merge Worker

View File

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