summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/RegionSamplingThread.cpp
diff options
context:
space:
mode:
author Arthur Hung <arthurhung@google.com> 2022-04-07 14:08:22 +0800
committer Arthur Hung <arthurhung@google.com> 2022-04-26 01:46:35 +0000
commit95f686177953b5558b3154269b6407b7325604dc (patch)
tree8057a69212761b202976129bf4fa964739bd43ca /services/surfaceflinger/RegionSamplingThread.cpp
parentf18ac6cac6c38bfaf02068fe167d3936c70469bf (diff)
Set initial meta state to AMETA_NONE
Currently, the default meta state is AMETA_NUM_LOCK_ON, that may cause some keyboard such as Apple Wireless Keyboard send the mismatched keys. Ideally, if the keyboard didn't contain the led key, it should not handle such key to change any state, this CL temporarily set the initialied state to none to prevent some unexpected behavior when user connected a new keyboard. Bug: 194465459 Test: atest inputflinger_tests Change-Id: Iad9fc01d16444e7d40a704678d3d27cdd110765c
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions