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

Commit 775b9dc8 authored by Alan Viverette's avatar Alan Viverette
Browse files

Binary compatibility stubs for get/setTooltip()

Change-Id: I8784ccfd48d8c809b70d7c5c977bcbf44e3f4d47
Fixes: 34798233
Test: n/a
parent df9a4f9a
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -24739,6 +24739,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.
     *
@@ -24749,6 +24756,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;