Increased resolution of notification icon
The expanded media style notification has a higher resolution than normal large icons
This commit is contained in:
parent
4b252250c0
commit
9989bbff9b
|
@ -69,7 +69,7 @@ public class PlaybackServiceNotificationBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadIcon() {
|
public void loadIcon() {
|
||||||
int iconSize = context.getResources().getDimensionPixelSize(android.R.dimen.notification_large_icon_width);
|
int iconSize = (int) (128 * context.getResources().getDisplayMetrics().density);
|
||||||
try {
|
try {
|
||||||
icon = Glide.with(context)
|
icon = Glide.with(context)
|
||||||
.asBitmap()
|
.asBitmap()
|
||||||
|
|
Loading…
Reference in New Issue