commit | 47c89bc4dcf5e8152694f72ada37669979bc917b | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Thu Nov 16 07:38:40 2023 +0000 |
committer | Winson Chung <winsonc@google.com> | Thu Nov 16 07:38:40 2023 +0000 |
tree | a10ff7e698018e3b565f1c20fc522f2c1890a798 | |
parent | a71c182039a8746a9d94f8031ef32c017b65c028 [diff] |
Only use the transaction to update taskview bg if it can be done synchronously - Otherwise, there can be a race between applying the given transaction, and the update to the transaction running on the view thread. This only affects TaskViews that aren't created on the shell main thread. Bug: 310802730 Test: atest WMShellUnitTests Change-Id: Iedce1fb827e4892dba194e2fe5da5d6a868696f9