OSDN Git Service

docs: add throws notice for isPlaying
authorScott Main <smain@google.com>
Tue, 3 Jul 2012 23:32:11 +0000 (16:32 -0700)
committerScott Main <smain@google.com>
Wed, 4 Jul 2012 00:32:23 +0000 (17:32 -0700)
per external issue 33610

Change-Id: Ibd778cb4ecc5f1717fa007ac069a7b3660ec4794

media/java/android/media/MediaPlayer.java

index 586f11e..e76d25a 100644 (file)
@@ -1152,6 +1152,8 @@ public class MediaPlayer
      * Checks whether the MediaPlayer is playing.
      *
      * @return true if currently playing, false otherwise
+     * @throws IllegalStateException if the internal player engine has not been
+     * initialized or has been released.
      */
     public native boolean isPlaying();