1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 14:05:05 -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)); String description = getString(R.string.search_title, mAccount.getDescription(), getString(R.string.unread_modifier));
LocalSearch search = new LocalSearch(description); LocalSearch search = new LocalSearch(description);
search.addAccountUuid(account.getUuid()); search.addAccountUuid(account.getUuid());
try { search.allForbiddenFlags(new Flag[] { Flag.SEEN });
search.allRequiredFlags(new Flag[]{Flag.SEEN});
} catch (Exception e) { MessageList.actionDisplaySearch(context, search, true, false);
// TODO Auto-generated catch block
e.printStackTrace();
}
} }
} }