Merge "Unblocking surface sync if the viewroot dies before traversal can happen" into tm-qpr-dev
This commit is contained in:
@@ -8747,6 +8747,10 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
mAdded = false;
|
mAdded = false;
|
||||||
AnimationHandler.removeRequestor(this);
|
AnimationHandler.removeRequestor(this);
|
||||||
}
|
}
|
||||||
|
if (mSyncBufferCallback != null) {
|
||||||
|
mSyncBufferCallback.onBufferReady(null);
|
||||||
|
mSyncBufferCallback = null;
|
||||||
|
}
|
||||||
WindowManagerGlobal.getInstance().doRemoveView(this);
|
WindowManagerGlobal.getInstance().doRemoveView(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user