diff options
author | 2015-02-10 14:54:38 -0800 | |
---|---|---|
committer | 2015-02-11 13:02:41 -0800 | |
commit | 12d80ebead6a1d7f704a5a3af3b6fe3313ceab05 (patch) | |
tree | 3ab839123291ba254aec3189f6c2f20dd30016c8 /java/src/com/android/inputmethod/latin/RichInputConnection.java | |
parent | 2979fad21384bb595ba2baca8f5bbbfc053be921 (diff) | |
download | latinime-12d80ebead6a1d7f704a5a3af3b6fe3313ceab05.tar.gz latinime-12d80ebead6a1d7f704a5a3af3b6fe3313ceab05.tar.xz latinime-12d80ebead6a1d7f704a5a3af3b6fe3313ceab05.zip |
Remove shortcut support from LatinIME.
Note this change does not affect the native decoder interface.
Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
Diffstat (limited to 'java/src/com/android/inputmethod/latin/RichInputConnection.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/RichInputConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputConnection.java b/java/src/com/android/inputmethod/latin/RichInputConnection.java index 0210d7e18..f020c25eb 100644 --- a/java/src/com/android/inputmethod/latin/RichInputConnection.java +++ b/java/src/com/android/inputmethod/latin/RichInputConnection.java @@ -899,7 +899,7 @@ public final class RichInputConnection implements PrivateCommandPerformer { * On platforms on which this method is not present, this is a no-op. */ public void maybeMoveTheCursorAroundAndRestoreToWorkaroundABug() { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) { + if (!Constants.JELLY_BEAN_OR_HIGHER) { if (mExpectedSelStart > 0) { mIC.setSelection(mExpectedSelStart - 1, mExpectedSelStart - 1); } else { |