From 11798b011c962b602217b479130d413f3b30f19a Mon Sep 17 00:00:00 2001 From: Liejun Tao Date: Fri, 18 Dec 2015 14:59:01 -0600 Subject: Enhance AVRCP Absolute Volume control implementation 1. Remember the current local volume level, current remote volume level. When user adjusts the volume, compare the returned remote volume level with desired volume level, if they don't match, do retry. 2.Learn and remember the volume mapping between phone volume level and remote volume level as the user adjusts volume. When user adjusts to one remembered volume level, use the mapping directly. Otherwise calculate the remote volume level and try with method described in step one. 3. Blacklist device if remote device does not tell its initial volume. 4. Define optional threshold for initial volume level to avoid headset being too loud upon re-connection. Signed-off-by: Liejun Tao Change-Id: I78112f5f401666f5a680561473a5c7f914071fbe --- res/values/config.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'res/values') diff --git a/res/values/config.xml b/res/values/config.xml index 42ab4b98a..9ab1e96e7 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -43,4 +43,10 @@ 100 true + + + 8 + -- cgit v1.2.3