diff options
author | 2015-02-11 13:32:13 -0800 | |
---|---|---|
committer | 2015-02-11 13:32:13 -0800 | |
commit | 5254c01d4cc024527479d4dc5fab2ed2516c395c (patch) | |
tree | c51b57953cb3154ab3c3e0260879b5fe0b056aa3 /java/src/com/android/inputmethod/latin/RichInputConnection.java | |
parent | 12d80ebead6a1d7f704a5a3af3b6fe3313ceab05 (diff) | |
download | latinime-5254c01d4cc024527479d4dc5fab2ed2516c395c.tar.gz latinime-5254c01d4cc024527479d4dc5fab2ed2516c395c.tar.xz latinime-5254c01d4cc024527479d4dc5fab2ed2516c395c.zip |
Fix master build.
For some reason, we can't import android.os package in our Constants.
Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
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 f020c25eb..0210d7e18 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 (!Constants.JELLY_BEAN_OR_HIGHER) { + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) { if (mExpectedSelStart > 0) { mIC.setSelection(mExpectedSelStart - 1, mExpectedSelStart - 1); } else { |