Loading services/inputflinger/reader/mapper/KeyboardInputMapper.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -391,7 +391,7 @@ int32_t KeyboardInputMapper::getMetaState() { } } bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { if (!android::isMetaKey(keyCode)) { if (!android::isMetaKey(keyCode) || !getDeviceContext().hasKeyCode(keyCode)) { return false; return false; } } Loading Loading
services/inputflinger/reader/mapper/KeyboardInputMapper.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -391,7 +391,7 @@ int32_t KeyboardInputMapper::getMetaState() { } } bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { bool KeyboardInputMapper::updateMetaState(int32_t keyCode) { if (!android::isMetaKey(keyCode)) { if (!android::isMetaKey(keyCode) || !getDeviceContext().hasKeyCode(keyCode)) { return false; return false; } } Loading