am 237f6ca7: fix build

* commit '237f6ca799981a53532424d72f49c3eabf6e40b4':
  fix build
main
Nick Kralevich 2014-10-18 13:54:43 +00:00 committed by Android Git Automerger
commit 0366239a70
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));