summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-01-25 17:49:13 +0000
committer Vishnu Nair <vishnun@google.com> 2023-01-25 17:50:14 +0000
commit0fd0fca48a878434a52419542f61177e8e0adce1 (patch)
treec65f996dae3673a0b51c78aa81e63cac699c49eb /services/surfaceflinger/RegionSamplingThread.cpp
parent0077d6d84cdcfc5acd880e883a1623e3c5126385 (diff)
DO NOT MERGE: SF: Fix a race between layer creation and apply transaction
Between commitCreatedLayers and applyTransactions in the main thread, the client could create a new layer and queue a transaction. This will mean a layer transaction can be applied before the layer can be committed. Fix this by flushing the transactions to be applied before committing any new layers. Test: presubmit Fixes: b/262336014 Change-Id: I9987614ade29456453de3610782a645ea9db0892
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions