I have a notification that displays a largeicon.
Is there any way to remove the smaller icon from honeycomb and above devices from this view?
Obviously still ke
Use only setSmallIcon for Your icon. It will be also used for largeIcon if second wasn't specified (just make sure it is big enough to fit both).
Make sure that it looks good on pre-lolipop, lolipop and above. For example here I do set application icon only for pre-lolipop devices, where lolipop and above are getting different smallIcon and same largeIcon as smallIcon.
int currentApiVersion = android.os.Build.VERSION.SDK_INT;
if (currentApiVersion >= Build.VERSION_CODES.LOLLIPOP) {
notificationBuilder
.setSmallIcon(smallIcon)
.setLargeIcon(appIconDrawable)
} else {
notificationBuilder.setSmallIcon(appIconDrawable);
}