diff --git a/api/current.txt b/api/current.txt index 7634d9b6ca54d..8337f585b7d18 100644 --- a/api/current.txt +++ b/api/current.txt @@ -44087,7 +44087,6 @@ package android.view { method public java.lang.Object getTag(int); method public int getTextAlignment(); method public int getTextDirection(); - method public final deprecated java.lang.CharSequence getTooltip(); method public final java.lang.CharSequence getTooltipText(); method public final int getTop(); method protected float getTopFadingEdgeStrength(); @@ -44393,7 +44392,6 @@ package android.view { method public void setTag(int, java.lang.Object); method public void setTextAlignment(int); method public void setTextDirection(int); - method public final deprecated void setTooltip(java.lang.CharSequence); method public final void setTooltipText(java.lang.CharSequence); method public final void setTop(int); method public void setTouchDelegate(android.view.TouchDelegate); diff --git a/api/system-current.txt b/api/system-current.txt index e31e3044ea3e6..762f573352dd8 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -47486,7 +47486,6 @@ package android.view { method public java.lang.Object getTag(int); method public int getTextAlignment(); method public int getTextDirection(); - method public final deprecated java.lang.CharSequence getTooltip(); method public final java.lang.CharSequence getTooltipText(); method public final int getTop(); method protected float getTopFadingEdgeStrength(); @@ -47792,7 +47791,6 @@ package android.view { method public void setTag(int, java.lang.Object); method public void setTextAlignment(int); method public void setTextDirection(int); - method public final deprecated void setTooltip(java.lang.CharSequence); method public final void setTooltipText(java.lang.CharSequence); method public final void setTop(int); method public void setTouchDelegate(android.view.TouchDelegate); diff --git a/api/test-current.txt b/api/test-current.txt index e87d3587a6b05..bbf7f913516f0 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -44391,7 +44391,6 @@ package android.view { method public java.lang.Object getTag(int); method public int getTextAlignment(); method public int getTextDirection(); - method public final deprecated java.lang.CharSequence getTooltip(); method public final java.lang.CharSequence getTooltipText(); method public android.view.View getTooltipView(); method public final int getTop(); @@ -44698,7 +44697,6 @@ package android.view { method public void setTag(int, java.lang.Object); method public void setTextAlignment(int); method public void setTextDirection(int); - method public final deprecated void setTooltip(java.lang.CharSequence); method public final void setTooltipText(java.lang.CharSequence); method public final void setTop(int); method public void setTouchDelegate(android.view.TouchDelegate); diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 9e5c37d26d3d8..ba9bb67c15468 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -24758,16 +24758,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, } } - /** - * To be removed once the support library has stopped using it. - * - * @deprecated use {@link #setTooltipText} instead - */ - @Deprecated - public final void setTooltip(@Nullable CharSequence tooltipText) { - setTooltipText(tooltipText); - } - /** * Returns the view's tooltip text. * @@ -24778,17 +24768,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, return mTooltipInfo != null ? mTooltipInfo.mTooltipText : null; } - /** - * To be removed once the support library has stopped using it. - * - * @deprecated use {@link #getTooltipText} instead - */ - @Deprecated - @Nullable - public final CharSequence getTooltip() { - return getTooltipText(); - } - private boolean showTooltip(int x, int y, boolean fromLongClick) { if (mAttachInfo == null) { return false;