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

Skip to content
Commit 8f235fdb authored by Tiger's avatar Tiger
Browse files

Execute afterPrepareSurfacesRunnables after committing the transaction

Some of the runnables will assume the transcation has been committed by
the surface flinger before getting run. For example, the leashes of
insets need to be setup before dispatching to the client. If the order
is not ensured, the transaction sent from the client might be executed
earlier than the one sent from system server which might override the
state of the leash unexpectedly.

This CL executes the runnables when the transaction has been committed.

Fix: 298018626
Test: atest InsetsPolicyTest InsetsStateControllerTest
Change-Id: Ie7bb268f228ae8a8ed15e49b193aa2d0183f31ac
parent 599156ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment