Skip to content

Commit eef3898

Browse files
Louis ChangAndroid Build Coastguard Worker
authored andcommitted
Unfreeze the surface when the transition is done
The surface was not unfreeze if the WindowContainer is closing and changing after [1]. Always check and unfreeze the surface if needed when the transition is done. [1] d19ad2a Bug: 280754787 Test: click web link on chat while having a Meet call (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f3a5c5892402916ca861c41319f21acb83bd1f83) Merged-In: I98618477a828eb72b2173af6988e804471139e81 Change-Id: I98618477a828eb72b2173af6988e804471139e81
1 parent 7885cd9 commit eef3898

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

services/core/java/com/android/server/wm/WindowContainer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,6 +1396,9 @@ void checkAppWindowsReadyToShow() {
13961396
}
13971397

13981398
void onAppTransitionDone() {
1399+
if (mSurfaceFreezer.hasLeash()) {
1400+
mSurfaceFreezer.unfreeze(getSyncTransaction());
1401+
}
13991402
for (int i = mChildren.size() - 1; i >= 0; --i) {
14001403
final WindowContainer wc = mChildren.get(i);
14011404
wc.onAppTransitionDone();

0 commit comments

Comments
 (0)