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

Implement per-MediaItem notification colors on Android #521

Draft
wants to merge 1 commit into
base: major
Choose a base branch
from

Conversation

hacker1024
Copy link
Contributor

As discussed in #520.
This PR is draft status, because:

  1. Other platforms are broken, because the setMediaItem background channel call now passes a list with the media item JSON and the color integer (when it previously only passed the JSON).
  2. The coloring doesn't work in newer versions of Android. Is this okay?
  3. Scopes were added to two case statements in the method call switch in AudioServicePlugin.java, as a variable called args is now declared once in each. This makes the style inconsistent - should all cases have their own scope?

@ryanheise ryanheise changed the base branch from master to major October 17, 2021 09:56
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.

1 participant