mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Avoid NPE reported via Play Store
This commit is contained in:
parent
df8ea306b8
commit
fe02f0c44a
@ -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)));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user