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
This commit is contained in:
committed by
Chavi Weingarten
parent
0da4f48c2a
commit
2ff9d23025
@@ -8823,6 +8823,10 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
mAdded = false;
|
mAdded = false;
|
||||||
AnimationHandler.removeRequestor(this);
|
AnimationHandler.removeRequestor(this);
|
||||||
}
|
}
|
||||||
|
if (mActiveSurfaceSyncGroup != null) {
|
||||||
|
mActiveSurfaceSyncGroup.markSyncReady();
|
||||||
|
mActiveSurfaceSyncGroup = null;
|
||||||
|
}
|
||||||
WindowManagerGlobal.getInstance().doRemoveView(this);
|
WindowManagerGlobal.getInstance().doRemoveView(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user