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

Commit ace90b2e authored by Weng Ng's avatar Weng Ng
Browse files

Add LOCATION to ResultType.

This is done both to log this in ImpressionLogging and serve as a gating condition to AiAi that location result-type should be processed.

Bug: 274296899
Change-Id: Ida0971b63fc723526f69a78362c4d8f1d0ad66c3
Test: NA
parent ea924f3d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -51,13 +51,14 @@ public class ResultType {
    public static final int EDUCARD = 1 << 19;
    public static final int SYSTEM_POINTER = 1 << 20;
    public static final int VIDEO = 1 << 21;
    public static final int LOCATION = 1 << 22;

    public static final int PUBLIC_DATA_TYPE = APPLICATION | SETTING | PLAY | WEB_SUGGEST;
    public static final int PRIMITIVE_TYPE = APPLICATION | SLICE | SHORTCUT | WIDGETS | ACTION |
            LEGACY_SHORTCUT;
    public static final int CORPUS_TYPE =
            PEOPLE | SETTING | IMAGE | PLAY | SUGGEST | ASSISTANT | CHROMETAB | TIPS
                    | PEOPLE_TILE | MEMORY | WEB_SUGGEST | VIDEO;
                    | PEOPLE_TILE | MEMORY | WEB_SUGGEST | VIDEO | LOCATION;
    public static final int RANK_TYPE = SYSTEM_POINTER;
    public static final int UI_TYPE = EDUCARD | NO_FULFILLMENT;