Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2bd5e202 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Unblocking surface sync if the viewroot dies before traversal can happen"

parents c0252daa 2ff9d230
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -8823,6 +8823,10 @@ public final class ViewRootImpl implements ViewParent,
            mAdded = false;
            AnimationHandler.removeRequestor(this);
        }
        if (mActiveSurfaceSyncGroup != null) {
            mActiveSurfaceSyncGroup.markSyncReady();
            mActiveSurfaceSyncGroup = null;
        }
        WindowManagerGlobal.getInstance().doRemoveView(this);
    }