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

Commit 25509482 authored by Bernardo Rufino's avatar Bernardo Rufino
Browse files

Clarify Toast.Callback javadoc

Text was ambiguous and could mean callback object construction instead
of toast construction.

Test: Builds
Bug: 144152069
Change-Id: I06160de2b85f339517ae45d3bd4cc1098f433ef0
parent 2de83af6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -755,8 +755,9 @@ public class Toast {
    /**
     * Callback object to be called when the toast is shown or hidden.
     *
     * Callback methods will be called on the looper thread provided on construction.
     * <p>Callback methods will be called on the looper thread used for the {@link Toast} object.
     *
     * @see #makeText(Context, Looper, CharSequence, int)
     * @see #addCallback(Callback)
     */
    public abstract static class Callback {