Android notification image looks pixelatedSee original GitHub issue
The problem is that when the image is loaded, it is resized, I assume to avoid an error due to the
Intent created in
NotificationRestoreReceiver.java being too big (
!!! FAILED BINDER TRANSACTION !!! exception/error).
To fix this, the image cropping should be removed and the notification probably should not be created until it’s going to be displayed. If it’s going to be scheduled, then the intent should only contain the
JSON of the options, which we would later use to create when it’s time to display it.
This would simplify the cancellation as well.
Working on the fix.
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
Indeed, the image is resized to avoid that error, but I didn’t think it was resized too aggressively to become pixelated. Can you show an example of how bad it becomes, along ith the original image source?