Fix error in documentation string

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

PiperOrigin-RevId: 510261965
(cherry picked from commit fc642eb45f)
This commit is contained in:
Googler 2023-02-16 23:36:31 +00:00 committed by tonihei
parent 6a273a5f90
commit 3b00561b49

View file

@ -371,7 +371,7 @@ public class MediaSession {
* @param remoteUserInfo The remote user info.
* @param trusted {@code true} if trusted, {@code false} otherwise.
* @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
* connection. The contents of this bundle may affect the connection result.
*/