Commit 387da623 authored by aurimas's avatar aurimas Committed by Commit bot

Suppress deprecation warning for InputMethodManager calls.

BUG=None

Review URL: https://codereview.chromium.org/607953002

Cr-Commit-Position: refs/heads/master@{#296976}
parent c0c8e095
...@@ -65,14 +65,20 @@ public class InputMethodManagerWrapper { ...@@ -65,14 +65,20 @@ public class InputMethodManagerWrapper {
/** /**
* @see android.view.inputmethod.InputMethodManager#isWatchingCursor(View) * @see android.view.inputmethod.InputMethodManager#isWatchingCursor(View)
*/ */
@SuppressWarnings("deprecation")
public boolean isWatchingCursor(View view) { 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); return getInputMethodManager().isWatchingCursor(view);
} }
/** /**
* @see android.view.inputmethod.InputMethodManager#updateCursor(View, int, int, int, int) * @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) { 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); getInputMethodManager().updateCursor(view, left, top, right, bottom);
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment