OSDN Git Service

Add 'until next alarm' option to QS zen panel.
authorJulia Reynolds <juliacr@google.com>
Thu, 1 Oct 2015 18:34:22 +0000 (14:34 -0400)
committerJulia Reynolds <juliacr@google.com>
Thu, 15 Oct 2015 21:02:00 +0000 (17:02 -0400)
commit8e2d2bbeec74b02960504a09e02e601ee2cf5e0e
treea31351d484896cc77e2af2ca8bd170dac6284360
parent575b629ef8e21cca5a40acaafeee7653d90956fe
Add 'until next alarm' option to QS zen panel.

Unlike the implementation in LMR1, this is a countdown condition
(a countdown until the time of what was the next alarm when the
rule was created). The rule will not change if alarms change.
Also, alarms up to 7 days in the future will be considered.

Bug: 21648799
Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb
(cherry picked from commit 0842fe87b27b9e4a7aecfec25b93dba2d39f398a)
core/java/android/service/notification/ZenModeConfig.java
core/res/res/values/strings.xml
core/res/res/values/symbols.xml
packages/SystemUI/src/com/android/systemui/statusbar/policy/ZenModeController.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/ZenModeControllerImpl.java
packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java