summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2010-11-17 17:49:49 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2010-11-17 17:49:49 -0800
commit9aee30ea612b70c7e6daad9bd8c442e77a5dd68c (patch)
treeec118766f82c43e40365c5f0f38e85892e08a6ee
parentd80661c129010f89e3b305797e1712f3d3481467 (diff)
parentffd0eb0f1106b0229694a1a86ce7d6356efcf50d (diff)
Merge "Fix bug 3183484 unhide MediaRecorder.AudioSource.VOICE_COMMUNICATION"
-rw-r--r--api/current.xml11
-rw-r--r--media/java/android/media/MediaRecorder.java10
2 files changed, 15 insertions, 6 deletions
diff --git a/api/current.xml b/api/current.xml
index bf62fa7be9f2..710188d91515 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -101832,6 +101832,17 @@
visibility="public"
>
</field>
+<field name="VOICE_COMMUNICATION"
+ type="int"
+ transient="false"
+ volatile="false"
+ value="7"
+ static="true"
+ final="true"
+ deprecated="not deprecated"
+ visibility="public"
+>
+</field>
<field name="VOICE_DOWNLINK"
type="int"
transient="false"
diff --git a/media/java/android/media/MediaRecorder.java b/media/java/android/media/MediaRecorder.java
index 2bea84fffc76..39c4a28592be 100644
--- a/media/java/android/media/MediaRecorder.java
+++ b/media/java/android/media/MediaRecorder.java
@@ -149,12 +149,10 @@ public class MediaRecorder
* {@link #DEFAULT} otherwise. */
public static final int VOICE_RECOGNITION = 6;
- /**
- * @hide
- * Microphone audio source tuned for voice communications such as VoIP. It
- * will for instance take advantage of echo cancellation or automatic gain control
- * if available. It otherwise behaves like {@link #DEFAULT} if no voice processing
- * is available.
+ /** Microphone audio source tuned for voice communications such as VoIP. It
+ * will for instance take advantage of echo cancellation or automatic gain control
+ * if available. It otherwise behaves like {@link #DEFAULT} if no voice processing
+ * is applied.
*/
public static final int VOICE_COMMUNICATION = 7;
}