diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java index 4b11e3231aba4..f8311cd580a95 100644 --- a/media/java/android/media/MediaPlayer.java +++ b/media/java/android/media/MediaPlayer.java @@ -4232,8 +4232,10 @@ public class MediaPlayer extends PlayerBase * @see OnRtpRxNoticeListener * * @param listener the listener called after a notice from RTP Rx - * @param handler the {@link Handler} that receives RTP Tx events - * + * @param handler the {@link Handler} that receives RTP Tx events. If null is passed, + * notifications will be posted on the thread that created this MediaPlayer + * instance. If the creating thread does not have a {@link Looper}, then + * notifications will be posted on the main thread. * @hide */ @SystemApi