commit ffd2ab18fc6cea94ab58777aa99bb51e343720ef log] tgz] author John Spurlock <jspurlock@google.com> Wed Sep 10 10:40:49 2014 -0400 committer The Android Automerger <android-build@google.com> Thu Sep 11 13:23:37 2014 -0700 tree cf33396d6e912247960ed4e84e1b6dd73e130b3d parent 38e585f74d287d18717cec84ed82defed31853b5 diff]

Doze: Introduce a pulse period function. Instead of pulsing every 30 seconds to mimic the LED, use a function that pulses more frequently for new notifications, decaying to a slower pulse, and eventually stopping. Specifically, the step function for the interval is: - 10 seconds for the first minute - then 30 seconds until the five minute mark - then 60 seconds until the 30 minute mark - then no pulsing at all - Since we pulse more frequently on new notifications, remove the "multi-pulse" concept. - Move all doze-related duration parameters to a new helper, backed by config, overridable by sysprops, include in dump. - Wake up from dozing when hitting volume keys during a pulse. - Bug:17393939 Change-Id: Ica86f08b25c738338fced165c77faf3dfccd0343

6 files changed