commit | 89e32320207c1f332dd84024a13b001320d8c63d | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Jan 24 05:37:23 2025 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 05 21:20:52 2025 -0800 |
tree | 2c24cdc411e8af4039877627955a8728a3ef7e7c | |
parent | d2216fc62a9e1253828bf4cfdf5395948f2e78c6 [diff] |
DO NOT MERGE: Update ActivityRecordInputSink using the pending transaction In some cases where finishTransition happens before the pending transaction is applied, we can end up with a stale state. Subsequent prepareSurfaces does not fix the issue because the InputWindowHandle is only applied on changes. Fix the race by only using pending transactions to apply ActivityRecordInputSink state changes. Bug: 332277530 Test: POC from bug Flag: EXEMPT bug fix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9636a50783d9e909b356db8da6e879db5a477929) Merged-In: If93840ad7b2abbcb48c0c332870c48046c0f8fdc Change-Id: If93840ad7b2abbcb48c0c332870c48046c0f8fdc