commit | 0fd0fca48a878434a52419542f61177e8e0adce1 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Wed Jan 25 17:49:13 2023 +0000 |
committer | Vishnu Nair <vishnun@google.com> | Wed Jan 25 17:50:14 2023 +0000 |
tree | c65f996dae3673a0b51c78aa81e63cac699c49eb | |
parent | 0077d6d84cdcfc5acd880e883a1623e3c5126385 [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