Index: content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java b/content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java |
index 545f6cf7b637e9b880bc7ff67321d719ebfc0f9b..baa952ac0999b899baf314b85f9e09aa33bdefb7 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/input/InputMethodManagerWrapper.java |
@@ -65,14 +65,20 @@ public class InputMethodManagerWrapper { |
/** |
* @see android.view.inputmethod.InputMethodManager#isWatchingCursor(View) |
*/ |
+ @SuppressWarnings("deprecation") |
public boolean isWatchingCursor(View view) { |
+ // TODO(aurimas): InputMethodManager.isWatchingCursor() was deprecated in L. Fix |
+ // this once the final Android L SDK is released. |
return getInputMethodManager().isWatchingCursor(view); |
} |
/** |
* @see android.view.inputmethod.InputMethodManager#updateCursor(View, int, int, int, int) |
*/ |
+ @SuppressWarnings("deprecation") |
public void updateCursor(View view, int left, int top, int right, int bottom) { |
+ // TODO(aurimas): InputMethodManager.updateCursor() was deprecated in L. Fix |
+ // this once the final Android L SDK is released. |
getInputMethodManager().updateCursor(view, left, top, right, bottom); |
} |
} |