OSDN Git Service

MediaPlayer: fix typo for OnInfoListener.
authorWei Jia <wjia@google.com>
Tue, 12 Jul 2016 21:38:50 +0000 (14:38 -0700)
committerWei Jia <wjia@google.com>
Tue, 12 Jul 2016 21:38:50 +0000 (14:38 -0700)
Bug: 30099323
Change-Id: Ic59fe64b4d2b6dcf28d31cb7c480ba6cb7a4cea1

media/java/android/media/MediaPlayer.java

index 8d4a151..31c7a32 100644 (file)
@@ -3498,7 +3498,7 @@ public class MediaPlayer extends PlayerBase
          * @param extra an extra code, specific to the info. Typically
          * implementation dependent.
          * @return True if the method handled the info, false if it didn't.
-         * Returning false, or not having an OnErrorListener at all, will
+         * Returning false, or not having an OnInfoListener at all, will
          * cause the info to be discarded.
          */
         boolean onInfo(MediaPlayer mp, int what, int extra);