diff --git a/media/java/android/media/MediaRecorder.java b/media/java/android/media/MediaRecorder.java index 60444e0c20ca1..73485afcecffd 100644 --- a/media/java/android/media/MediaRecorder.java +++ b/media/java/android/media/MediaRecorder.java @@ -206,13 +206,34 @@ public class MediaRecorder /** Microphone audio source */ public static final int MIC = 1; - /** Voice call uplink (Tx) audio source */ + /** Voice call uplink (Tx) audio source. + *

+ * Capturing from VOICE_UPLINK source requires the + * {@link android.Manifest.permission#CAPTURE_AUDIO_OUTPUT} permission. + * This permission is reserved for use by system components and is not available to + * third-party applications. + *

+ */ public static final int VOICE_UPLINK = 2; - /** Voice call downlink (Rx) audio source */ + /** Voice call downlink (Rx) audio source. + *

+ * Capturing from VOICE_DOWNLINK source requires the + * {@link android.Manifest.permission#CAPTURE_AUDIO_OUTPUT} permission. + * This permission is reserved for use by system components and is not available to + * third-party applications. + *

+ */ public static final int VOICE_DOWNLINK = 3; - /** Voice call uplink + downlink audio source */ + /** Voice call uplink + downlink audio source + *

+ * Capturing from VOICE_CALL source requires the + * {@link android.Manifest.permission#CAPTURE_AUDIO_OUTPUT} permission. + * This permission is reserved for use by system components and is not available to + * third-party applications. + *

+ */ public static final int VOICE_CALL = 4; /** Microphone audio source with same orientation as camera if available, the main