fix NPE in MessageProvider
This commit is contained in:
parent
54bf6f7bd5
commit
dae6be34df
1 changed files with 1 additions and 1 deletions
|
@ -935,8 +935,8 @@ public class MessageProvider extends ContentProvider {
|
|||
for (final LocalMessage message : messages) {
|
||||
final MessageInfoHolder messageInfoHolder = new MessageInfoHolder();
|
||||
final LocalFolder messageFolder = message.getFolder();
|
||||
final Account messageAccount = message.getAccount();
|
||||
|
||||
final Account messageAccount = messageInfoHolder.message.getAccount();
|
||||
helper.populate(messageInfoHolder, message, new FolderInfoHolder(context,
|
||||
messageFolder, messageAccount), messageAccount);
|
||||
|
||||
|
|
Loading…
Reference in a new issue