1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

Avoid NPE reported via Play Store

This commit is contained in:
cketti 2013-03-05 03:54:27 +01:00
parent df8ea306b8
commit fe02f0c44a

View File

@ -1707,7 +1707,12 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
}
private boolean updateForMe(Account account, String folder) {
//FIXME
if (account == null || folder == null) {
return false;
}
// FIXME: There could be more than one account and one folder
return ((account.equals(mAccount) && folder.equals(mFolderName)));
}
}