Skip to content
Commit 36307968 authored by Salvador Martinez's avatar Salvador Martinez
Browse files

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
parent 4d0e87d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment