Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8356481b authored by Doris Ling's avatar Doris Ling
Browse files

Add icon tintable flag to suggestion.

Bug: 72330968
Test: rebuild
Change-Id: Ic11713300311ff81347efc72ea10bf9aa99f7b1c
parent 75ca5dff
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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;