Unblocking surface sync if the viewroot dies before traversal can happen
Bug: 260135164 Test: Verified the code flow as the cause of bug Change-Id: Ie168b7cb772f6ec89063a42a7b15e7d5342f5bd3 Merged-in: Ie168b7cb772f6ec89063a42a7b15e7d5342f5bd3
This commit is contained in:
@@ -8747,6 +8747,10 @@ public final class ViewRootImpl implements ViewParent,
|
||||
mAdded = false;
|
||||
AnimationHandler.removeRequestor(this);
|
||||
}
|
||||
if (mSyncBufferCallback != null) {
|
||||
mSyncBufferCallback.onBufferReady(null);
|
||||
mSyncBufferCallback = null;
|
||||
}
|
||||
WindowManagerGlobal.getInstance().doRemoveView(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user