summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-09-03 01:28:26 -0700
committerEric Laurent <elaurent@google.com>2009-09-03 01:28:26 -0700
commit9d85d5adf90e7363304e2d4a22d60a2114bb7ab9 (patch)
tree65d85fd0ac688d36758ecfc17e2e486cf1743495 /media
parent0c36a517cd01a7112460a96f9f0fa2badf8f7015 (diff)
downloadframeworks_base-9d85d5adf90e7363304e2d4a22d60a2114bb7ab9.zip
frameworks_base-9d85d5adf90e7363304e2d4a22d60a2114bb7ab9.tar.gz
frameworks_base-9d85d5adf90e7363304e2d4a22d60a2114bb7ab9.tar.bz2
Fix issue 2097083: STREAM_SYSTEM should be at max volume.
Changed default volume for STREAM_SYSTEM and STREAM_SYSTEM_ENFORCED to the maximum value.
Diffstat (limited to 'media')
-rw-r--r--media/java/android/media/AudioManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/java/android/media/AudioManager.java b/media/java/android/media/AudioManager.java
index de944ee..1dd644b 100644
--- a/media/java/android/media/AudioManager.java
+++ b/media/java/android/media/AudioManager.java
@@ -156,13 +156,13 @@ public class AudioManager {
/** @hide Default volume index values for audio streams */
public static final int[] DEFAULT_STREAM_VOLUME = new int[] {
4, // STREAM_VOICE_CALL
- 5, // STREAM_SYSTEM
+ 7, // STREAM_SYSTEM
5, // STREAM_RING
11, // STREAM_MUSIC
6, // STREAM_ALARM
5, // STREAM_NOTIFICATION
7, // STREAM_BLUETOOTH_SCO
- 5, // STREAM_SYSTEM_ENFORCED
+ 7, // STREAM_SYSTEM_ENFORCED
11, // STREAM_DTMF
11 // STREAM_TTS
};