diff options
author | Arthur Hung <arthurhung@google.com> | 2021-12-13 09:39:59 +0000 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2022-01-04 14:01:13 +0000 |
commit | 3f4a0f3c36b3f23c2d51fe6174f9c399433466f9 (patch) | |
tree | 4fb028163a6deffffa643bbe2d0474fda2838b97 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5a2d06b5f10203d952d1990a1f9154bd05e52fa5 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions