Skip to content
Commit f97b656c authored by Bo Liu's avatar Bo Liu Committed by Chromium LUCI CQ
Browse files

android: Order surface control transaction acks

Android is found to call transaction acks out of order in some corner
cases, which breaks assumptions in viz and causes problems. Enforce
order by using a queue to store arguments and using the queue to ensure
calls are ordered.

Note TransactionAckTimeoutManager is still ack-ed immediately since it
has its own id to track transactions and does not care about ordering.

Bug: 40871148, 339457781
Change-Id: I2e6599979d1b6a57714209b9c7ee3d3bf5fd8558
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5615911


Reviewed-by: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
Commit-Queue: Bo Liu <boliu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1312895}
parent 0b68f519
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