fix build

Change-Id: I58a94fc0be01f272b6ad12524946f073c9f49894
main
Nick Kralevich 2014-10-18 06:50:03 -07:00
parent f9a4b20c96
commit 237f6ca799
1 changed files with 1 additions and 1 deletions

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