Merge pull request #4698 from ByteHamster/notification-icon-resolution

Increased resolution of notification icon
This commit is contained in:
ByteHamster 2020-11-22 16:09:48 +01:00 committed by GitHub
commit 41cdeec30c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class PlaybackServiceNotificationBuilder {
}
public void loadIcon() {
int iconSize = context.getResources().getDimensionPixelSize(android.R.dimen.notification_large_icon_width);
int iconSize = (int) (128 * context.getResources().getDisplayMetrics().density);
try {
icon = Glide.with(context)
.asBitmap()