(Kinda) Android Auto support#447
Draft
Fiaxpico wants to merge 1 commit into
Draft
Conversation
(cherry picked from commit f98a9af)
ssalggnikool
marked this pull request as draft
July 19, 2026 22:01
Owner
this would require a bit of work to fix as it needs edit: there is a way it seems, androidx/media#339, too lazy to read this, either you can do it or I can mess with it later |
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




So with this, the app shows up in android auto and can play music, controls all work. However, it cant see anything from the library, where it just says "No items", because AA relies on callbacks from
MediaLibraryService(which is just a subclass ofMediaSessionServiceso it shouldn't be that much of a issue to change and add?) to read the library items.Also, the playback service permission also just blocks the app from being detected, so the simple fix was just to remove that line, tho i would guess there's probably a better way.
:3