From 7570954a1870a28d8322557dfbe36504328f3518 Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Wed, 25 Apr 2012 15:49:24 -0700 Subject: [PATCH] modifications for new system volume policy. The new system and UX sound volume policy makes that STREAM_SYSTEM volume is not fixed anymore. It is tracking STREAM_RING (phones) or STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB. Sound Fx where previously played over STREAM_SYSTEM with a fixed attenuation of -20dB. The default value of 5% in the keypress sound volume setting was corresponding to -26dB, meaning 6dB below default. Modified the default volume value to 50% so that by default, keypress sound volume varies from -30dB to -12dB which is also 6dB below the other system sounds. Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb --- java/res/values/keypress-volumes.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/res/values/keypress-volumes.xml b/java/res/values/keypress-volumes.xml index 4d0e7a097..1bec6a32b 100644 --- a/java/res/values/keypress-volumes.xml +++ b/java/res/values/keypress-volumes.xml @@ -20,8 +20,8 @@ - herring,0.05 - tuna,0.05 - stingray,0.04 + herring,0.5 + tuna,0.5 + stingray,0.4