* commit '237f6ca799981a53532424d72f49c3eabf6e40b4':
  fix build
This commit is contained in:
Nick Kralevich 2014-10-18 13:54:43 +00:00 committed by Android Git Automerger
commit 0366239a70

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