Loading core/java/android/widget/Toast.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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)) { Loading Loading
core/java/android/widget/Toast.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -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)) { Loading