fix build

Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
This commit is contained in:
Nick Kralevich 2014-10-18 06:50:03 -07:00
parent f9a4b20c96
commit 237f6ca799

View file

@ -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));