summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSalvador Martinez <dehboxturtle@google.com>2018-03-28 23:56:59 -0700
committerSalvador Martinez <dehboxturtle@google.com>2018-03-29 14:11:32 -0700
commitfd38aa5114daf9656e38f1a64faff7cb435e3049 (patch)
tree5ed924da4695b94e10c9666bc902748a2926593e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0d5bbf77b528b77255d3a6abf7c74935fe924e51 (diff)
Update triggering logic for hybrid notification
Currently in the worst case a user can receive 4 battery notifications if the time estimates and percentages line up right. This CL makes it so a user can at MOST receive one "low" battery warning and one "critical" battery warning per charge cycle. A charge cycle is restarted when a user charges to at least 45% battery AND has 6 hours remaining. This does not affect the behavior of the non-hybrid notification. Test: robotests Bug: 76203825 Change-Id: Ib3c7fe589f1ce4c0cdb821e1f21d1139a56fad62
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions