diff options
| -rw-r--r-- | services/inputflinger/reader/mapper/KeyboardInputMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/inputflinger/reader/mapper/KeyboardInputMapper.cpp b/services/inputflinger/reader/mapper/KeyboardInputMapper.cpp index 38dcd65a81..21ecbcf8aa 100644 --- a/services/inputflinger/reader/mapper/KeyboardInputMapper.cpp +++ b/services/inputflinger/reader/mapper/KeyboardInputMapper.cpp @@ -391,7 +391,7 @@ int32_t KeyboardInputMapper::getMetaState() { } bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { - if (!android::isMetaKey(keyCode) || !getDeviceContext().hasKeyCode(keyCode)) { + if (!android::isMetaKey(keyCode)) { return false; } |