public static boolean applyCount(Context context, int badgeCount) {
        try {
            applyCountOrThrow(context, badgeCount);
            return true;
        } catch (ShortcutBadgeException e) {
            if (Log.isLoggable(LOG_TAG, Log.DEBUG)) {
                Log.d(LOG_TAG, "Unable to execute badge", e);
            }
            return false;
        }
    }
Tries to update the notification count

@param context    Caller context
@param badgeCount Desired badge count
@return true in case of success, false otherwise
app/src/main/java/home/smart/fly/animations/widget/clearbadge/ShortcutBadger.java