1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Fix "Notification opens unread messages"

This commit is contained in:
cketti 2012-11-27 00:15:21 +01:00
parent 689f12a7f8
commit cd3cc88fd4

View File

@ -1294,12 +1294,9 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
String description = getString(R.string.search_title, mAccount.getDescription(), getString(R.string.unread_modifier));
LocalSearch search = new LocalSearch(description);
search.addAccountUuid(account.getUuid());
try {
search.allRequiredFlags(new Flag[]{Flag.SEEN});
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
search.allForbiddenFlags(new Flag[] { Flag.SEEN });
MessageList.actionDisplaySearch(context, search, true, false);
}
}