diff options
author | Salvador Martinez <dehboxturtle@google.com> | 2018-02-08 14:29:08 -0800 |
---|---|---|
committer | Salvador Martinez <dehboxturtle@google.com> | 2018-02-08 19:17:06 -0800 |
commit | 36307968619ced08e2ece7fcb9f538f9b3b05907 (patch) | |
tree | 5511a562d64b7f529149be1bfe5afbdfa4bfe0b4 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 4d0e87d926d22625d54b26342dba913d2948f8d6 (diff) |
Update time based triggering logic to guard against spam
Since the time based estimate takes recent usage into account we
could get a situation where the notification could trigger many
times. This CL makes it so the notification can only trigger at most
twice per charge cycle. The percentage based triggering remains
unaffected.
Test: SysUI Tests
Bug: 27567513
Change-Id: I81e29f96ac97b0d1a177e923c16d5f2800da404a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions