mirror of
https://github.com/moparisthebest/k-9
synced 2024-08-13 17:03:48 -04:00
41c5dc5986
Fixes ClassCastException. Also: Envelope and star in Accounts Activity are now both "hot". Tapping the main part of the search opens the full search; tapping the envelope opens the search only for unread messages; tapping the star opens the search but only for starred messages. The envelope and star are a bit small to reliably tap. Both options should be available via long-press, also. Methodology will be extended to real accounts, as well.
18 lines
288 B
Java
18 lines
288 B
Java
|
|
package com.fsck.k9;
|
|
|
|
import com.fsck.k9.mail.Flag;
|
|
|
|
public interface SearchSpecification
|
|
{
|
|
|
|
public Flag[] getRequiredFlags();
|
|
|
|
public Flag[] getForbiddenFlags();
|
|
|
|
public boolean isIntegrate();
|
|
|
|
public String getQuery();
|
|
|
|
public String[] getAccountUuids();
|
|
} |