Skip to content

Commit

Permalink
remove 'Media message:' prefix from MMS notification notification
Browse files Browse the repository at this point in the history
Fixes #2928
Closes #3152

// FREEBIE
  • Loading branch information
rhodey authored and moxie0 committed May 14, 2015
1 parent 4887675 commit ee73883
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ private static NotificationState constructNotificationState(Context context,
body = SpanUtil.italic(context.getString(R.string.MessageNotifier_encrypted_message));
} else if (record.isMms() && TextUtils.isEmpty(body)) {
body = SpanUtil.italic(context.getString(R.string.MessageNotifier_media_message));
} else if (record.isMms()) {
} else if (record.isMms() && !record.isMmsNotification()) {
String message = context.getString(R.string.MessageNotifier_media_message_with_text, body);
int italicLength = message.length() - body.length();
body = SpanUtil.italic(message, italicLength);
Expand Down

0 comments on commit ee73883

Please sign in to comment.