diff options
| author | 2018-02-01 19:12:35 +0000 | |
|---|---|---|
| committer | 2018-02-01 19:12:35 +0000 | |
| commit | 5482951a12cc92f5051b55ae908e78d4d73e009f (patch) | |
| tree | 11091082729c22f44f1514e73376047029fdb041 | |
| parent | 6f2e062c9ffb0dac8137a15a56235d5710b6a8d6 (diff) | |
| parent | 8356481ba2d7882173c97a34ab311151c54040f2 (diff) | |
Merge "Add icon tintable flag to suggestion."
| -rw-r--r-- | core/java/android/service/settings/suggestions/Suggestion.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/service/settings/suggestions/Suggestion.java b/core/java/android/service/settings/suggestions/Suggestion.java index 11e1e674a747..e97f963a0986 100644 --- a/core/java/android/service/settings/suggestions/Suggestion.java +++ b/core/java/android/service/settings/suggestions/Suggestion.java @@ -40,6 +40,7 @@ public final class Suggestion implements Parcelable { */ @IntDef(flag = true, prefix = { "FLAG_" }, value = { FLAG_HAS_BUTTON, + FLAG_ICON_TINTABLE, }) @Retention(RetentionPolicy.SOURCE) public @interface Flags { @@ -49,6 +50,10 @@ public final class Suggestion implements Parcelable { * Flag for suggestion type with a single button */ public static final int FLAG_HAS_BUTTON = 1 << 0; + /** + * @hide + */ + public static final int FLAG_ICON_TINTABLE = 1 << 1; private final String mId; private final CharSequence mTitle; |