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
Loading
Please register or sign in to comment