commit | aeaeaefcef78d9d2bdcf8df3dc58b6a810b0cf0b | [log] [tgz] |
---|---|---|
author | Chalard Jean <jchalard@google.com> | Wed Aug 22 10:21:26 2018 +0900 |
committer | Chalard Jean <jchalard@google.com> | Tue Oct 16 08:57:17 2018 +0000 |
tree | 202a9f54f81e09df5b6ec8ef0c005491b77f8db6 | |
parent | b02b6403f967af2d8f26d3025b291f4d9a9170ce [diff] |
Delay global alerts by 1s for high thresholds This is a cherry-pick of aosp/735725 with a minor conflict. By skipping updates if an alert is already scheduled, this avoids firing the global alert too often on devices with high transfer speeds and high quota. Test: with tethering watching videos. Also runtest frameworks-net Bug: 117243748 Change-Id: Ia0ed76141dfb33546529786eb0118138ef3708c2 Merged-In: Ie0ba5c1d1a2139606e63fcfe46ec77a89accd8d9 Merged-In: Iaabb31586e9e747871a526dc7ebb7deeb65d8f83