commit | cdc111a158c089a6a8e4dd9c9e961c77b91d684d | [log] [tgz] |
---|---|---|
author | Sunny Goyal <sunnygoyal@google.com> | Tue May 24 17:09:25 2022 -0700 |
committer | Sunny Goyal <sunnygoyal@google.com> | Tue May 24 17:14:44 2022 -0700 |
tree | c9a982c76443d44a0a365b3933011e4885302e51 | |
parent | 2940565595103e7594423548a93cde095f8d6b2e [diff] |
Creating the transaction on the UI thread This avoids the error when the transaction is created after the surface is released. In case the surface is released after transaction object is created, the apply() call simply ignores that error, whereas previously the transactionCreation will throw an error Bug: 231889963 Test: Verified by manually releasing the surface that there is no crash Change-Id: I9a4b9ca0be2ed687b2fc692570415256e3e479f7