commit | c8de8c708fd74a1d8d784ce630cc9857f6b4d698 | [log] [tgz] |
---|---|---|
author | Willie Koomson <[email protected]> | Wed Dec 06 03:05:26 2023 +0000 |
committer | Willie Koomson <[email protected]> | Thu Feb 29 21:01:10 2024 +0000 |
tree | 44f07f7675264f78584fc45721a1e0ee4477f65c | |
parent | a820b6f87554eaf51a2b4e0cc641807fb77ac234 [diff] |
Rate limit calls to setWidgetPreview/removeWidgetPreview Rate limit calls to widget preview APIs that trigger the onProvidersChanged callback. The rate limit does not apply if the caller is currently in the foreground. Bug: 308041327 Test: AppWidgetTest#testGeneratedPreviewRateLimiting Change-Id: I6baaf5a1a94ad63584135b4f297eda9dd2e9cddc