commit | 0e08c81e9858174374bac651e0d8923df3cb21e8 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri Dec 11 22:08:29 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Dec 14 05:34:41 2020 +0000 |
tree | 7d67c9cc8289e6dd5841b4a01646da5480db8601 | |
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