Merge "Add Toast#show() specific javadoc" into android13-tests-dev

This commit is contained in:
Treehugger Robot
2023-03-16 18:44:23 +00:00
committed by Gerrit Code Review

View File

@@ -188,6 +188,9 @@ public class Toast {
/**
* 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() {
if (Compatibility.isChangeEnabled(CHANGE_TEXT_TOASTS_IN_THE_SYSTEM)) {