diff options
author | 2015-02-11 21:11:52 +0000 | |
---|---|---|
committer | 2015-02-11 21:11:52 +0000 | |
commit | fe674a441f0ece3d772acba01be09a0a0d8ff5ce (patch) | |
tree | 5ba9d889102387b0b356045dbe1a6ec50c40fda4 /java/src/com/android/inputmethod/latin/RichInputConnection.java | |
parent | 1c7d6283fcefb37d1f7ac35a1ded0b705225ccdd (diff) | |
parent | 12d80ebead6a1d7f704a5a3af3b6fe3313ceab05 (diff) | |
download | latinime-fe674a441f0ece3d772acba01be09a0a0d8ff5ce.tar.gz latinime-fe674a441f0ece3d772acba01be09a0a0d8ff5ce.tar.xz latinime-fe674a441f0ece3d772acba01be09a0a0d8ff5ce.zip |
am 12d80ebe: Remove shortcut support from LatinIME.
* commit '12d80ebead6a1d7f704a5a3af3b6fe3313ceab05':
Remove shortcut support from LatinIME.
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 { |