OSDN Git Service

Ambient: Pulse for every noisy notification exactly once
authorAdrian Roos <roosa@google.com>
Mon, 22 Aug 2016 13:31:38 +0000 (15:31 +0200)
committerAdrian Roos <roosa@google.com>
Tue, 23 Aug 2016 11:58:31 +0000 (13:58 +0200)
commitd13602f1e72377466ec90bce8a46084ea5877df1
treec1a1a9aeb22716ec58cbb03737f934ced31048da
parenta0a718f5db03447dd5e7e660ee57506b907e880d
Ambient: Pulse for every noisy notification exactly once

Also increases the pulse duration and switches timing to
elapsed realtime instead of wall time for robustness. Also
remove triggering for notification light for simplifying code.
Only noisy notifications are able to trigger the light anyway and
noisy notifications already trigger ambient on their own.

Change-Id: I4efbe530bb1a60cabaa46c2b04bcd5e12cdef680
Fixes: 31004875
packages/SystemUI/res/values/config.xml
packages/SystemUI/src/com/android/systemui/doze/DozeLog.java
packages/SystemUI/src/com/android/systemui/doze/DozeService.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java