Merge "Unblocking surface sync if the viewroot dies before traversal can happen"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2bd5e20280
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user