+5
−20
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Previously, if no SurfaceControls where marked to get callbacks, a callback was sent directly from SurfaceComposerClient so we could save a binder call into SurfaceFlinger and a binder call for the callback. Although this saved us 2 binder calls, it made the transactions callbacks come out of order. The public api guarantees that all callbacks must come in order. This patch moves the callback from SurfaceComposerClient into SurfaceFlinger so the callbacks are in order. Bug: 128519264 Test: SurfaceFlinger_test Change-Id: Ia1cadb81adb69b58a4d6d43ae453c96a1572f833