am 63cbdf49: Add @Override for a method that is overriding a new L API

* commit '63cbdf49b91d2b588de71538afd20d1d34fc1746':
  Add @Override for a method that is overriding a new L API
main
Yohei Yukawa 2014-10-21 16:37:54 +00:00 committed by Android Git Automerger
commit f9c8a44bbe
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ import static com.android.inputmethod.latin.Constants.ImeOption.FORCE_ASCII;
import static com.android.inputmethod.latin.Constants.ImeOption.NO_MICROPHONE;
import static com.android.inputmethod.latin.Constants.ImeOption.NO_MICROPHONE_COMPAT;
import android.annotation.TargetApi;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
@ -1086,8 +1087,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
}
}
// We cannot mark this method as @Override until new SDK becomes publicly available.
// @Override
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
@Override
public void onUpdateCursorAnchorInfo(final CursorAnchorInfo info) {
if (isFullscreenMode()) {
return;