Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Loosen recipients check

A valid sending scenario was found where we were complaining the
recipients didn't match. Bug 3066322

Change-Id: I53da6a9a9d063d09826ce7f955a2dfaaf0633b38
  • Loading branch information...
commit e28d2fe95c2ef64be593b75dcc61d41caf8d2f51 1 parent b03467f
Tom Taylor authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/com/android/mms/data/WorkingMessage.java
View
3  src/com/android/mms/data/WorkingMessage.java
@@ -1066,8 +1066,9 @@ private void preSendSmsWorker(Conversation conv, String msgText, String recipien
final String semiSepRecipients = conv.getRecipients().serialize();
+ // recipientsInUI can be empty when the user types in a number and hits send
if (LogTag.SEVERE_WARNING && ((origThreadId != 0 && origThreadId != threadId) ||
- (!semiSepRecipients.equals(recipientsInUI)))) {
+ (!semiSepRecipients.equals(recipientsInUI) && !TextUtils.isEmpty(recipientsInUI)))) {
String msg = origThreadId != 0 && origThreadId != threadId ?
"WorkingMessage.preSendSmsWorker threadId changed or " +
"recipients changed. origThreadId: " +
Please sign in to comment.
Something went wrong with that request. Please try again.