mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-23 18:02:15 -05:00
Fix "Notification opens unread messages"
This commit is contained in:
parent
689f12a7f8
commit
cd3cc88fd4
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user