Merge "Expand toast javadoc to include rate limiting info." into sc-dev am: 0245b5cbce

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

Change-Id: I39ef4792d1190b7a4081de2770b6087ab9f9d189
This commit is contained in:
Bernardo Rufino
2021-06-11 12:38:51 +00:00
committed by Automerger Merge Worker

View File

@@ -71,6 +71,9 @@ import java.util.List;
* Note that
* <a href="{@docRoot}reference/com/google/android/material/snackbar/Snackbar">Snackbars</a> are
* preferred for brief messages while the app is in the foreground.
* <p>
* Note that toasts being sent from the background are rate limited, so avoid sending such toasts
* in quick succession.
*
* <div class="special reference">
* <h3>Developer Guides</h3>