[2/2] Volume rocker music control
-also fix volume wake key
Change-Id: Ie0ca60627e538996d1283a485c9f72b0859aea06
diff --git a/res/xml/button_settings.xml b/res/xml/button_settings.xml
index cb06176..dd112b3 100644
--- a/res/xml/button_settings.xml
+++ b/res/xml/button_settings.xml
@@ -34,10 +34,17 @@
android:defaultValue="false" />
<org.omnirom.omnigears.preference.SystemSettingSwitchPreference
- android:key="button_volume_wake_screen"
+ android:key="volume_button_wake"
android:title="@string/button_volume_wake_title"
android:summary="@string/button_volume_wake_summary"
+ android:disableDependentsState="true"
android:defaultValue="false" />
+
+ <org.omnirom.omnigears.preference.SystemSettingSwitchPreference
+ android:key="volume_button_music_control"
+ android:title="@string/volume_button_music_control_title"
+ android:summary="@string/volume_button_music_control_summary"
+ android:dependency="volume_button_wake"/>
</PreferenceCategory>
<PreferenceCategory