Skip to content
Permalink
Browse files

Revert "Remove audioservice volume hack"

This reverts commit 967d4c8.
  • Loading branch information...
Dazzozo committed Jun 23, 2013
1 parent 4cde873 commit 491c13ecbf53330877d3e3e8f5cf016eb996195d
Showing with 26 additions and 0 deletions.
  1. +26 −0 patches/frameworks_base/0002-audioservice-voice-call.patch
@@ -0,0 +1,26 @@
From 1707988963b5033349e1d125e4dc4ffec9e53c9e Mon Sep 17 00:00:00 2001
From: Daz Jones <yuki@thebronasium.com>
Date: Sun, 17 Feb 2013 17:09:06 +0000
Subject: [PATCH] AudioService: change voice call max stream volume

Change-Id: I78e79d1b72c88495797e61a428b468949a5d41b2
---
media/java/android/media/AudioService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media/java/android/media/AudioService.java b/media/java/android/media/AudioService.java
index 8cfed1b..ef5c2c56 100644
--- a/media/java/android/media/AudioService.java
+++ b/media/java/android/media/AudioService.java
@@ -180,7 +180,7 @@ public class AudioService extends IAudioService.Stub {

/** @hide Maximum volume index values for audio streams */
private int[] MAX_STREAM_VOLUME = new int[] {
- 5, // STREAM_VOICE_CALL
+ 7, // STREAM_VOICE_CALL
7, // STREAM_SYSTEM
7, // STREAM_RING
15, // STREAM_MUSIC
--
1.7.10.4

0 comments on commit 491c13e

Please sign in to comment.
You can’t perform that action at this time.