Volume Rocker Wake [2/2]

Change-Id: Ib83943373ad5dabeda65466b3d4b84eb5aa3e61e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
rascarlo
2015-12-01 19:18:53 +01:00
committed by Hưng Phan
parent 8d6e660501
commit 9be12c499b
2 changed files with 17 additions and 0 deletions

View File

@@ -155,4 +155,10 @@
<string name="statusbar_gesture_title">Gestures</string>
<string name="double_tap_to_sleep_statusbar_title">Double tap to sleep</string>
<string name="double_tap_to_sleep_statusbar_summary">Double tap on statusbar to put the device to sleep</string>
<!-- Buttons title -->
<string name="volume_category">Volume Rocker</string>
<!--Volume keys -->
<string name="volume_rocker_wake_summary">Pressing the volume keys will wake your device</string>
</resources>

View File

@@ -17,6 +17,17 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/button_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory
android:key="volume_category"
android:title="@string/volume_category">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="volume_rocker_wake"
android:summary="@string/volume_rocker_wake_summary"
android:title="@string/volume_rocker_wake_title"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>