From 237f6ca799981a53532424d72f49c3eabf6e40b4 Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Sat, 18 Oct 2014 06:50:03 -0700 Subject: [PATCH] fix build Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894 --- java/src/com/android/inputmethod/latin/LatinIME.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index ec3d89583..91a4ec84c 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -796,7 +796,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen @Override public boolean onPreDraw() { // CursorAnchorInfo is used on L and later. - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.L) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { if (isFullscreenMode() && mExtractEditText != null) { mInputLogic.onUpdateCursorAnchorInfo( CursorAnchorInfoUtils.extractFromTextView(mExtractEditText));