diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-12-11 22:08:29 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-12-14 05:34:41 +0000 |
commit | 0e08c81e9858174374bac651e0d8923df3cb21e8 (patch) | |
tree | 7d67c9cc8289e6dd5841b4a01646da5480db8601 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a72217f738bad29f6fa13b3627d3bf3049d8749b (diff) |
Remove lock of getLockTaskModeState
The state field is declared as volatile. And the field is always
written on display thread without lock. So it is unnecessary to
lock the getter method.
Bug: 173467481
Test: CtsWindowManagerDeviceTestCases
Change-Id: I6324f6745fd849438b7b0d326bd63bd2d0580421
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions