public static int getBadgeIconType(Notification notification) {
        if (Build.VERSION.SDK_INT >= 26) {
            return notification.getBadgeIconType();
        } else {
            return BADGE_ICON_NONE;
        }
    }
Returns what icon should be shown for this notification if it is being displayed in a
Launcher that supports badging. Will be one of {@link #BADGE_ICON_NONE},
{@link #BADGE_ICON_SMALL}, or {@link #BADGE_ICON_LARGE}.
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/NotificationCompat.java