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

Make DefaultMediaNotificationProvider more customizable #65

Closed
tzugen opened this issue Apr 1, 2022 · 1 comment
Closed

Make DefaultMediaNotificationProvider more customizable #65

tzugen opened this issue Apr 1, 2022 · 1 comment
Assignees

Comments

@tzugen
Copy link

tzugen commented Apr 1, 2022

I want to customize the smallIcon as well as the setShowActionsInCompactView().
Unfortunately I can't extend the DefaultMediaNotificationProvider because it is marked private in the package.

So the only solution I found was to copy the code from DefaultMediaNotificationProvider.java to my project and then change it there.

But that is not very nice, and if upstream it is changed, we won't get the changes.

@marcbaechinger
Copy link
Contributor

Closing as this is fixed and will be included in 1.0.0-beta01 which is on its way to be released.

marcbaechinger added a commit that referenced this issue May 31, 2022
Issue: #66
Issue: #65

#minor-release

PiperOrigin-RevId: 452004492
marcbaechinger added a commit that referenced this issue Jun 15, 2022
Issue: #66
Issue: #65

#minor-release

PiperOrigin-RevId: 452004492
(cherry picked from commit 839d4f4)
@androidx androidx locked and limited conversation to collaborators Mar 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants