Skip to content
Commit 0e08c81e authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent a72217f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment