Clarify Toast.Callback javadoc

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

Test: Builds
Bug: 144152069
Change-Id: I06160de2b85f339517ae45d3bd4cc1098f433ef0
This commit is contained in:
Bernardo Rufino
2020-03-24 17:58:45 +00:00
parent 2de83af6b1
commit 255094826d

View File

@@ -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 {