📅  最后修改于: 2022-03-11 14:55:10.792000             🧑  作者: Mango
try {
Badges.removeBadge(context);
// Alternative way
Badges.setBadge(context, 0);
} catch (BadgesNotSupportedException badgesNotSupportedException) {
Log.d(TAG, badgesNotSupportedException.getMessage());
}