summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-09-14 15:39:13 -0400
committerJohn Spurlock <jspurlock@google.com>2014-09-15 15:35:56 -0400
commit190d026167401ed593924dd12ab6e134e2d08e94 (patch)
tree87ee5d9b670b09a4203846090e2508f665d01aa3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7ca1161e302ea415a2f4696514967f126dfa86fa (diff)
Doze: Aggressively dial down notification-related pulses.
When dozing and buzz-worthy notifications arrive, don't follow the LED logic with periodic pulses. Instead, follow a simple decay schedule after the initial arrival, pulsing only at 10s, 30s, 60s, and 120s. The schedule is reset when a new notification arrives, but only for the first three times, until either the pickup sensor is triggered or the device exits doze. Also: - Make the notification trigger configurable. - Centralize existing sysprop configuration into DozeParameters. - Decouple vibration from debugging, make separately configurable. - Remove "delayed" pulse concept, fold into new schedule. Bug:17496795 Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions