Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6675bbf0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Binary compatibility stubs for get/setTooltip()"

parents 9f5d2b08 775b9dc8
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -24767,6 +24767,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        }
    }
    /**
     * @hide Binary compatibility stub. To be removed when we finalize O APIs.
     */
    public void setTooltip(@Nullable CharSequence tooltipText) {
        setTooltipText(tooltipText);
    }
    /**
     * Returns the view's tooltip text.
     *
@@ -24777,6 +24784,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        return mTooltipInfo != null ? mTooltipInfo.mTooltipText : null;
    }
    /**
     * @hide Binary compatibility stub. To be removed when we finalize O APIs.
     */
    @Nullable
    public CharSequence getTooltip() {
        return getTooltipText();
    }
    private boolean showTooltip(int x, int y, boolean fromLongClick) {
        if (mAttachInfo == null) {
            return false;