Fix error in documentation string

The current javadoc refers to the SessionCallback#onConnected, which doesn't exist.

PiperOrigin-RevId: 510261965
This commit is contained in:
Googler 2023-02-16 23:36:31 +00:00 committed by christosts
parent 6711a59564
commit fc642eb45f

View File

@ -372,7 +372,7 @@ public class MediaSession {
* @param remoteUserInfo The remote user info. * @param remoteUserInfo The remote user info.
* @param trusted {@code true} if trusted, {@code false} otherwise. * @param trusted {@code true} if trusted, {@code false} otherwise.
* @param cb ControllerCb. Can be {@code null} only when a MediaBrowserCompat connects to * @param cb ControllerCb. Can be {@code null} only when a MediaBrowserCompat connects to
* MediaSessionService and ControllerInfo is needed for SessionCallback#onConnected(). * MediaSessionService and ControllerInfo is needed for {@code SessionCallback#onConnect()}.
* @param connectionHints A session-specific argument sent from the controller for the * @param connectionHints A session-specific argument sent from the controller for the
* connection. The contents of this bundle may affect the connection result. * connection. The contents of this bundle may affect the connection result.
*/ */