Volume key music control [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -158,4 +158,7 @@
|
||||
|
||||
<!--Volume keys -->
|
||||
<string name="volume_rocker_wake_summary">Pressing the volume keys will wake your device</string>
|
||||
<string name="volume_rocker_music_controls_title">Music control</string>
|
||||
<string name="volume_rocker_music_controls_summary">Long press volume buttons to switch tracks while screen off</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -21,12 +21,20 @@
|
||||
<PreferenceCategory
|
||||
android:key="volume_category"
|
||||
android:title="@string/volume_category">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||
android:key="volume_button_music_control"
|
||||
android:summary="@string/volume_rocker_music_controls_summary"
|
||||
android:title="@string/volume_rocker_music_controls_title"
|
||||
android:defaultValue="false"
|
||||
android:dependency="volume_rocker_wake" />
|
||||
|
||||
<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" />
|
||||
android:defaultValue="false"
|
||||
android:disableDependentsState="true" />
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user