Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 230cd6f7 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix Bug #1833943 - CapsLock using long-press doesn't update keys.

Use new API in KeyboardView to invalidate all keys on long-press of shift key.
parent bd9fdede
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ public class LatinKeyboardView extends KeyboardView {
            return true;
        } else if (key.codes[0] == Keyboard.KEYCODE_SHIFT) {
            getOnKeyboardActionListener().onKey(KEYCODE_SHIFT_LONGPRESS, null);
            invalidate();
            invalidateAllKeys();
            return true;
        } else if (key.codes[0] == '0' && getKeyboard() == mPhoneKeyboard) {
            // Long pressing on 0 in phone number keypad gives you a '+'.