Cherish: HeadsUp snooze function [2/2]

5.1 introduced a snooze feature which activates when swiping up.
Default snooze time is 1 minute. Let's make it configurable!

Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Change-Id: Ieac7f6182597c2285c1ddf40e2e75cce680682e7
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Lokesh Chamane
2016-11-03 15:06:04 +08:00
committed by Hưng Phan
parent 5ddc665991
commit eae80f6e34
4 changed files with 65 additions and 0 deletions

View File

@@ -29,6 +29,13 @@
android:entryValues="@array/heads_up_time_out_values"
android:persistent="false" />
<ListPreference
android:key="heads_up_snooze_time"
android:title="@string/heads_up_snooze_title"
android:entries="@array/heads_up_snooze_entries"
android:entryValues="@array/heads_up_snooze_values"
android:persistent="false" />
<PreferenceCategory
android:title="@string/heads_up_stoplist_title"
android:key="stoplist_applications"