commit | a52ade19d81810937fac4b86d99f9edc843c1194 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Thu Aug 27 16:49:20 2020 -0700 |
committer | Chris Ye <lzye@google.com> | Mon Aug 31 15:58:53 2020 -0700 |
tree | 2a09287dd76b4ca48095ab8cb7594e909ad2a751 | |
parent | 7c6e5687791492c3cd320135e4f166076c72e0a3 [diff] |
Do not generate meta state for device does not have the key. Check if device has CAPS_LOCK and NUMS_LOCK keys, if they don't have the keys do not generate the meta state. Bug: 166680149 Test: atest libinput_tests, atest inputflinger_tests Change-Id: I4c66b347dc9f2b0417c53bbbee18c78d11bf22b1