Avoid NPE reported via Play Store
This commit is contained in:
parent
df8ea306b8
commit
fe02f0c44a
1 changed files with 6 additions and 1 deletions
|
@ -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 a new issue