Fix NPE when moving a message from Unified Inbox (multiple accounts)
This commit is contained in:
parent
fe02f0c44a
commit
c07f94e877
1 changed files with 3 additions and 1 deletions
|
@ -2309,7 +2309,9 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
|||
folder = null;
|
||||
}
|
||||
|
||||
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_MOVE, mAccount, folder, messages);
|
||||
Account account = messages.get(0).getFolder().getAccount();
|
||||
|
||||
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_MOVE, account, folder, messages);
|
||||
}
|
||||
|
||||
private void onCopy(Message message) {
|
||||
|
|
Loading…
Reference in a new issue