Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify MediaUiModel and AudioOutput to support remote media output an… #2498

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

anubhavkakkar
Copy link
Contributor

Modify MediaUiModel and AudioOutput to support remote media output and artwork seed color.

WHAT

The MediaUiModel data class now includes properties for the currently selected media output and artwork color seed. The AudioOutput interface now uses the Android Media Router type for the represented media route. An AudioOutput implementation for remote media output has also been added.

WHY

The MediaUiModel's added properties will help build the related UI. The provision for MediaRoute2Info.getType in the AudioOutput will aid in recognizing the different types of media output supported by the Android Media Router.

HOW

The modifications are directly made in the MediaUiModel and AudioOutput classes.

Checklist 📋

  • Add explicit visibility modifier and explicit return types for public declarations
  • Run spotless check
  • Run tests
  • Update metalava's signature text files

@anubhavkakkar anubhavkakkar merged commit d4b3563 into google:main Jan 15, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants