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 15:49:04 +0000 (15:49 +0000)
commit97de2b26669f48dee437dac415ccb19293af0283
tree3c1ec078341425f346054ef8a1dcfad57e483908
parent06165f534fed0836c280179a16ee204e385de339
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