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

Skip to content
Commit 88e20481 authored by Marissa Wall's avatar Marissa Wall
Browse files

blast: ordering layer death and callbacks

There is an edge case where Transaction callbacks don't contain
all the SurfaceControls that the Transaction had. This happens if:

1) A transaction is applied in the app process
2) A surface control is released/destroyed in the app process
3) The surface control is destroyed in surfaceflinger
4) The transaction is applied in surfaceflinger

If the layer associated with the surface control is removed from
surfaceflinger, the surface control won't be added to the callback.
We need to add the surface control as unpresented to the callback
once we realize the layer no longer exists.

Bug: 135766997
Test: Transaction_test
Change-Id: Ia7d7f15ead736c8a17343ceec84c8515a7000bbe
parent 7823b682
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