I have a problem setting the small notification icon to yellow in Android 7.x
I am using notification.setColor(Color.YELLOW); when creating the notification object. It shows that the color of the olive (ish) instead of yellow.
Also tried using notification.setColor(Color.argb(255,255,255,0)); but no luck, he shows the same olive color (ish).
Here's what it looks like in Android 7.x

Here's what it looks like in Android 6.x, which is the right color

Both images display the same notification with the same code base, but use different Android devices.
I use PushWoosh to send / receive push notifications, below is the exact code that I use to create a notification object.
public class NotificationFactory extends AbsNotificationFactory { @Override public Notification onGenerateNotification(PushData pushData) { PushwooshUserdata pushwooshUserdata = GsonUtil.fromJson(pushData.getExtras().getString("u"), PushwooshUserdata.class);
source share