Cherish: Disable dashboards conditions and suggestions (3/3)

Change-Id: I687ac1a48120f9f2b0b42d5811b65fe71f5a1430
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
xyyx
2017-09-07 11:14:09 +08:00
committed by Hưng Phan
parent 162ea20711
commit 77b218d5a2
2 changed files with 24 additions and 0 deletions

View File

@@ -18,6 +18,22 @@
android:title="@string/misc_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="enable_conditions"
android:icon="@drawable/ic_dashboard"
android:title="@string/dashboard_conditions_title"
android:summaryOn="@string/summary_dashboard_conditions_enabled"
android:summaryOff="@string/summary_dashboard_conditions_disabled"
android:defaultValue="true" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="enable_suggestions"
android:icon="@drawable/ic_dashboard"
android:title="@string/dashboard_suggestions_title"
android:summaryOn="@string/summary_dashboard_suggestions_enabled"
android:summaryOff="@string/summary_dashboard_suggestions_disabled"
android:defaultValue="true"/>
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:icon="@drawable/ic_plug"
android:key="wake_when_plugged_or_unplugged"