Enable persistent toasts by adding functionality for duration Infinity
This change allows users to show() toasts that will persist indefinitely by passing through duration: Infinity. The change also adds range boundaries to duration, so the value must be greater than 0. Bug: 985468, 972945 Change-Id: I694edab74aff7f99e770e7d37373329f5e663c99 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713684 Commit-Queue: Jack Steinberg <jacksteinberg@chromium.org> Reviewed-by:Fergal Daly <fergal@chromium.org> Cr-Commit-Position: refs/heads/master@{#680574}
Showing
Please register or sign in to comment