diff options
| author | 2023-12-06 03:05:26 +0000 | |
|---|---|---|
| committer | 2024-02-29 21:01:10 +0000 | |
| commit | c8de8c708fd74a1d8d784ce630cc9857f6b4d698 (patch) | |
| tree | 44f07f7675264f78584fc45721a1e0ee4477f65c /libs/androidfw/StringPool.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions