Skip to content

Commit 099fd80

Browse files
committed
docs: add throws notice for isPlaying
per external issue 33610 Change-Id: Ibd778cb4ecc5f1717fa007ac069a7b3660ec4794
1 parent 4c633ea commit 099fd80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

media/java/android/media/MediaPlayer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,8 @@ private void updateSurfaceScreenOn() {
11521152
* Checks whether the MediaPlayer is playing.
11531153
*
11541154
* @return true if currently playing, false otherwise
1155+
* @throws IllegalStateException if the internal player engine has not been
1156+
* initialized or has been released.
11551157
*/
11561158
public native boolean isPlaying();
11571159

0 commit comments

Comments
 (0)