Skip to content
Commit 3f4a0f3c authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix potential exception while pressing volume up and volume down

When enabled a11y service, it would intercept key events and forwards
them to accessibility manager service.
This CL added the synchronized mechanism in KeyCombinationManager to
prevent it access the conflict state because
'interceptKeyBeforeDispatching' and 'interceptKeyBeforeQueueinging' are
called from different threads.

Bug: 209939290
Test: A11y CTS and unit tests.
Change-Id: I7adb70d21128340c5519a6c72cb4d732c0bbba43
parent 5a2d06b5
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