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

Commit 5bd2c855 authored by Alan Viverette's avatar Alan Viverette
Browse files

Explicit documentation for View.getTag() return value when not set

Change-Id: I143d445b0c801ffabe04f0042e559594e52d07ed
parent a17059b7
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -1645,7 +1645,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @see #setTag(Object)
     * @see #getTag()
     */
    protected Object mTag;
    protected Object mTag = null;
    // for mPrivateFlags:
    /** {@hide} */
@@ -16442,7 +16442,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    /**
     * Returns this view's tag.
     *
     * @return the Object stored in this view as a tag
     * @return the Object stored in this view as a tag, or {@code null} if not
     *         set
     *
     * @see #setTag(Object)
     * @see #getTag(int)
@@ -16472,7 +16473,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     *
     * @param key The key identifying the tag
     *
     * @return the Object stored in this view as a tag
     * @return the Object stored in this view as a tag, or {@code null} if not
     *         set
     *
     * @see #setTag(int, Object)
     * @see #getTag()