diff options
author | Chalard Jean <jchalard@google.com> | 2018-08-22 10:21:26 +0900 |
---|---|---|
committer | Chalard Jean <jchalard@google.com> | 2018-10-16 08:57:17 +0000 |
commit | 5ecd5f193cdeed530fe2b0daf3f7d77ae83a43cc (patch) | |
tree | 41811397d86ebbde5da177f4d968119fc1727385 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 58d1ac473e0cd87886fe8ed666b6245097729927 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions