Merge "Merge "Add Toast#show() specific javadoc" into android13-tests-dev am: 1d8b567ae1" am: 398525d4c9 am: 775389d593

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2477605

Change-Id: I648a046be8e1f62e76f36dbe74e895cc00781cb7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Automerger Merge Worker
2023-03-16 20:47:55 +00:00

View File

@@ -189,6 +189,9 @@ public class Toast {
/** /**
* Show the view for the specified duration. * Show the view for the specified duration.
*
* <p>Note that toasts being sent from the background are rate limited, so avoid sending such
* toasts in quick succession.
*/ */
public void show() { public void show() {
if (Compatibility.isChangeEnabled(CHANGE_TEXT_TOASTS_IN_THE_SYSTEM)) { if (Compatibility.isChangeEnabled(CHANGE_TEXT_TOASTS_IN_THE_SYSTEM)) {