-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add option to not colorize notification #4643
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me, thank you for taking care of this!
app/src/main/java/org/schabi/newpipe/player/NotificationUtil.java
Outdated
Show resolved
Hide resolved
Please move the setting above the action buttons configuration, below scale thumbnail, and also hide it in case the user is on API <21. In order to hide multiple views at a time you can use a Group |
I'll adjust the PR when #4652 gets merged |
4ecff0e
to
47182d9
Compare
@Stypox I rebased it onto my PR and added the API level check |
47182d9
to
974f8f6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested on 4.4, 7.0 and 10 and it worked as expected. Thank you!
Btw, if you noticed I force-pushed your branch in order to remove the .setColor(ContextCompat.getColor(player.context, R.color.gray))
you forgot to remove ;-)
What is it?
Description of the changes in your PR
Fixes the following issue(s)
APK testing
updated after rebase
app-debug.zip
Due diligence