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

Skip to content
Commit 89f28270 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Fix ViewRootImpl traversal issue after SurfaceSyncGroup timeout

ViewRootImpl traversal is blocked from the time a sync is requested
to when the sync is successfully added to a SurfaceSyncGroup.
If the ViewRootImpl draw timeouts, the ViewRootImpl's
SurfaceSyncGroup is marked as ready. If there is another
sync request on the ViewRootImpl before the traversal path,
we can get in a state where we will never draw again.

Fix this by updating cleaning up the ViewRootImpl state
when the SurfaceSyncGroup is marked as ready.

Flag: EXEMPT bug fix
Bug: 362513091
Test: presubmit (coming in future cl)
Change-Id: I6c0ac8f96914d231cc9dc695f6fc8975ba2c5864
parent 0c06c085
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment