From e87bd5708eec03af8c0687c2ffa49bca0cdc829b Mon Sep 17 00:00:00 2001
From: Pawit Pornkitprasan
Date: Mon, 2 Nov 2015 01:41:36 -0500
Subject: [PATCH] Option to use volume keys to control media volume anytime
(1/2)
Some users don't adjust ringtone volume often (e.g. only use toggle to
switch between silent and non-silent) mode. Having an option to
use the volume keys to control media volume anytime allows media
volume to be controllled/muted before entering a game or other apps
with sound in an undesirable location.
Change-Id: Idfcd18f86e1d0170c7fa375c5569563c27235718
---
res/values/strings.xml | 4 ++++
res/xml/aosip_volume.xml | 6 ++++++
2 files changed, 10 insertions(+)
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f76915495..0e25bb654 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -589,6 +589,10 @@
Music control
With screen off, long pressing the volume keys will seek tracks
+
+ Volume keys control media volume
+ Force volume keys to control media stream
+
Volume button swap
Adjust volume buttons action based on current orientation
diff --git a/res/xml/aosip_volume.xml b/res/xml/aosip_volume.xml
index 880c5193b..1e1826e3a 100644
--- a/res/xml/aosip_volume.xml
+++ b/res/xml/aosip_volume.xml
@@ -29,6 +29,12 @@
android:entryValues="@array/volbtn_cursor_control_values"
android:persistent="false" />
+
+