summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2024-02-05 21:21:24 +0800
committer Tiger <tigerhuang@google.com> 2024-02-29 15:34:56 +0800
commit8f235fdb913abfd3cd43685cca004d591a26b530 (patch)
tree61084d86f8b56f4d2ddcb6b910635c7cdb9d0645 /libs/androidfw/BackupHelpers.cpp
parent599156ecc15cfc09b7b6c0ab86442eda754689f7 (diff)
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
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions