-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove audioservice volume hack"
This reverts commit 967d4c8.
- Loading branch information
Daz Jones
committed
Jun 23, 2013
1 parent
4cde873
commit 491c13e
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
patches/frameworks_base/0002-audioservice-voice-call.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|