mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-14 05:25:07 -05:00
Finally get the interaction right between integrated folder,
searchable folders, and the various search strategies. Integration takes precedence over searchability. The Integrated Inbox doesn't care about folder searchability. Nor does an unread or flag search on specific folders. Searches on specific accounts always go for displayable folders. That might need to change so that searches on specific accounts can be on DISPLAYABLE or ALL, but never NEVER. But in the current approach, account-specific searches are done from the Accounts Activity, which has an unread counter based on displayable non-special folders, so the present implementation is the most logical for now.
This commit is contained in:
parent
267f02fc48
commit
d7f18c7e35
@ -763,7 +763,7 @@ public class MessagingController implements Runnable
|
|||||||
displayableOnly = true;
|
displayableOnly = true;
|
||||||
noSpecialFolders = true;
|
noSpecialFolders = true;
|
||||||
}
|
}
|
||||||
else
|
else if (integrate == false && folderNames == null)
|
||||||
{
|
{
|
||||||
Account.Searchable searchableFolders = account.getSearchableFolders();
|
Account.Searchable searchableFolders = account.getSearchableFolders();
|
||||||
switch (searchableFolders)
|
switch (searchableFolders)
|
||||||
|
Loading…
Reference in New Issue
Block a user