diff options
| author | matttttt <18152455+martholomew@users.noreply.github.com> | 2020-02-27 20:43:06 +0000 |
|---|---|---|
| committer | matttttt <18152455+martholomew@users.noreply.github.com> | 2020-02-27 20:43:06 +0000 |
| commit | c7495a0640059c64f1041e5c7e4404d8117d2b5e (patch) | |
| tree | 9aa8046f225be816fca15f764ca423ec5aa2f30f /ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java | |
| parent | 6a5fe694e7d647abc276d80c01394742f59c2212 (diff) | |
| download | AnySoftKeyboard-c7495a0640059c64f1041e5c7e4404d8117d2b5e.tar.gz AnySoftKeyboard-c7495a0640059c64f1041e5c7e4404d8117d2b5e.tar.bz2 | |
Sinhala: keyboard and dictionary; ASK: shiftedkeyoutputtext and autolabel them
Diffstat (limited to 'ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java')
| -rw-r--r-- | ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java b/ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java index 3b155dd46..f6480555a 100644 --- a/ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java +++ b/ime/app/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardViewBase.java @@ -1151,6 +1151,8 @@ public class AnyKeyboardViewBase extends View implements InputViewBinder, Pointe if (isShiftedAccordingToCaseType(mKeyboard.isShifted())) { if (!TextUtils.isEmpty(key.shiftedKeyLabel)) { return key.shiftedKeyLabel; + } else if (key.shiftedText != null) { + label = key.shiftedText; } else if (label != null && label.length() == 1) { label = Character.toString( |
