diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-03-13 21:41:58 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-03-13 21:41:58 +0800 |
commit | ccfbcb81c633aeb3d1dae26d51d95d47458ab61e (patch) | |
tree | 99df6e19b25d89f74479ac23866f006bb671e400 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 34e727ec7f7ae4dec72bde969fcddfbe3c0b6f42 (diff) |
Clean unnecessary lock of WindowAnimator#animate
Reduce the invocation of thread priority booster and
monitor-enter/exit.
- The prohibition of lock was introduced in commits
9b19fd4 and 836dac4, but since commit 32fd84a that
enabled lock free app animations on surface animation
thread, the original WindowAnimator#animate is safe
to be put in WM global lock.
- All invocations of open/closeSurfaceTransaction are
inside WM global lock.
Bug: 139522754
Test: atest WindowTest
Change-Id: Idb11b4e5bc3b982341d86cad33f6c23253d0d0d9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions