Cherish: Wake on plug (2/2)

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Jon Evans
2017-09-12 13:38:48 +08:00
committed by Hưng Phan
parent e208dd915d
commit e12344c210
2 changed files with 11 additions and 1 deletions

View File

@@ -15,7 +15,13 @@
-->
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/misc_title"
android:title="@string/misc_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:icon="@drawable/ic_plug"
android:key="wake_when_plugged_or_unplugged"
android:title="@string/wakeup_when_plugged_unplugged_title"
android:summary="@string/wakeup_when_plugged_unplugged_summary"
android:defaultValue="true" />
</PreferenceScreen>