am 861c5c8c
: Guard against potential NPE.
* commit '861c5c8c9e054a4562af44805c57f39e7121ca43': Guard against potential NPE.
This commit is contained in:
commit
3b1ad7034d
@ -525,7 +525,9 @@ public abstract class EmailServiceStub extends IEmailService.Stub implements IEm
|
||||
// 3. loop through the available messages and send them
|
||||
while (c.moveToNext()) {
|
||||
long messageId = -1;
|
||||
moveToSentValues.remove(EmailContent.MessageColumns.FLAGS);
|
||||
if (moveToSentValues != null) {
|
||||
moveToSentValues.remove(EmailContent.MessageColumns.FLAGS);
|
||||
}
|
||||
try {
|
||||
messageId = c.getLong(0);
|
||||
// Don't send messages with unloaded attachments
|
||||
|
Loading…
Reference in New Issue
Block a user