OSDN Git Service

Update the exception description for start().
authorMark Goldstein <markgoldstein@google.com>
Fri, 10 Feb 2017 17:54:08 +0000 (09:54 -0800)
committerMark Goldstein <markgoldstein@google.com>
Fri, 10 Feb 2017 21:22:24 +0000 (13:22 -0800)
Bug: 31592353
Change-Id: Ic325a8004a87b71c0b43d02db58d4717b4b3831d

media/java/android/media/MediaRecorder.java

index 94e894f..e65ba4c 100644 (file)
@@ -859,7 +859,7 @@ public class MediaRecorder
      * not start another recording session during recording.
      *
      * @throws IllegalStateException if it is called before
-     * prepare().
+     * prepare() or when the camera is already in use by another app.
      */
     public native void start() throws IllegalStateException;