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

Skip to content
Commit 0854b996 authored by Robert Carr's avatar Robert Carr
Browse files

SurfaceFlinger: Ignore mInputDirty if syncing input-windows.

It's possible we sync input windows but then don't actually have any
changes resulting in input being dirtied. This could lead to extremly
long waits on Binder threads and "Set transaction state timed-out"
errors. To fix this we ignore the cache state if we are processing a
sync command. I thought about just not invoking setInputWindows and
signalling the CV but I thought maybe someone could be relying on
the fencing semantics of syncInputWindows even in cases where
this transaction had no change.

Bug: 151182359
Test: android.media.cts.EncodeVirtualDisplayWithCompositionTest
Change-Id: Ia4e5f21c37db68a1a3bec36051c34df3be5fce52
parent 3bbfb422
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