[Update notification service]: Refactor to adopt new scheduler features.
- Use built-in last shown notification timestamp to check whether to show next one. - Use built-in stats like number of throttle events to extend the throttle interval. - Remove all bridge/SharePref getter/setter methods that no longer needed. - Add a max_interval as a ceiling to the throttle interval to avoid unlimitted extension. Change-Id: I9eaca883dac245d953351652d6782a4c13404fce Bug: 1013685, 1043250 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2300632 Commit-Queue: Hesen Zhang <hesen@chromium.org> Reviewed-by:Xing Liu <xingliu@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Cr-Commit-Position: refs/heads/master@{#792441}
Showing
This diff is collapsed.
Please register or sign in to comment