Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9898adcb authored by Antony Sargent's avatar Antony Sargent
Browse files

Document that showSystemOutputSwitcher throws IllegalArgumentException

Bug: 426584455
Test: N/A (javadoc only change)
Flag: com.android.media.flags.enable_route_visibility_control_api
Change-Id: Ieba1ea91ec49851e3c36a48ead503903bba9a334
parent f4a872bb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -916,6 +916,8 @@ public final class MediaRouter2 {
     *
     * @return {@code true} if the output switcher dialog is being shown, or {@code false} if the
     * call is ignored because the app is in the background.
     *
     * @throws IllegalArgumentException if the provided {@code sessionToken} is invalid.
     */
    @FlaggedApi(FLAG_ENABLE_ROUTE_VISIBILITY_CONTROL_API)
    public boolean showSystemOutputSwitcher(@NonNull MediaSession.Token sessionToken) {