commit | 114856f8825e5606ea23a0ca3d236023769a8770 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Nov 27 10:53:29 2023 +0000 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Nov 27 17:06:19 2023 +0000 |
tree | 6d73f8f8c4ada957e8fe7703b8a0aa47d2b44d62 | |
parent | cf01f294ba8f0c4c025176022e27c1324ee14fb2 [diff] |
Remove implementation of global transaction Since I67e4e58aced78a2f36163178a64ca55d3c77e6f3, the methods of global transaction have no effective use case anymore. Keep the empty method openTransaction and closeTransaction because scrcpy might still use reflection to check the methods. However, it is safe to make these 2 method no-op because setDisplaySurface, setDisplayProjection, and setDisplayLayerStack no longer use global transaction. See [1] and [2]. [1]: I859743cb8b10c0352a30280a610b13a4f44f34dc [2]: I8ea8b26f4f5f8e7675a8a9fcf06c7f10cfa9e196 Bug: 159103089 Test: presubmit Change-Id: If38dfbe77d0be12bceb5e75600f486a53c9cd2c6