NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
String messageType = intent.getStringExtra(ADM_MESSAGE_TYPE_KEY);
if (ADM_DELETED_MESSAGES_KEY.equals(messageType)) {
int totalDeleted = intent.getIntExtra(ADM_NUMBER_OF_MESSAGES_DELETED_KEY, -1);
if (totalDeleted == -1) {
<BUG>Log.e(TAG, String.format("Unable to parse ADM message. Intent: %s", intent.toString()));
</BUG>
} else {
<BUG>Log.i(TAG, String.format("ADM deleted %d messages. Fetch them from Appboy.", totalDeleted));
</BUG>
}

NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE);
String messageType = intent.getStringExtra(ADM_MESSAGE_TYPE_KEY);
if (ADM_DELETED_MESSAGES_KEY.equals(messageType)) {
int totalDeleted = intent.getIntExtra(ADM_NUMBER_OF_MESSAGES_DELETED_KEY, -1);
if (totalDeleted == -1) {
AppboyLogger.e(TAG, String.format("Unable to parse ADM message. Intent: %s", intent.toString()));
} else {
AppboyLogger.i(TAG, String.format("ADM deleted %d messages. Fetch them from Appboy.", totalDeleted));
}
