Update SearchUi Lib to match AiAi
Bug: 177223401
Test: Build passes
Change-Id: I1b1b00e904eb47618db3af63a9e111c45d664601
diff --git a/searchuilib/src/com/android/app/search/LayoutType.java b/searchuilib/src/com/android/app/search/LayoutType.java
index 055d551..9741b72 100644
--- a/searchuilib/src/com/android/app/search/LayoutType.java
+++ b/searchuilib/src/com/android/app/search/LayoutType.java
@@ -17,7 +17,7 @@
package com.android.app.search;
/**
- * Constants to be used with {@link android.app.search.SearchTarget}.
+ * Constants to be used with {@link SearchTarget}.
*/
public class LayoutType {
@@ -48,6 +48,10 @@
public static final String ICON_DOUBLE_HORIZONTAL_TEXT_BUTTON =
"icon_texts_button";
+
+ // TODO: add diagram
+ public static final String ICON_SLICE = "slice";
+
// TODO: add diagram
public static final String TEXT_HEADER = "header";
diff --git a/searchuilib/src/com/android/app/search/ResultType.java b/searchuilib/src/com/android/app/search/ResultType.java
index 43ac626..698f5b8 100644
--- a/searchuilib/src/com/android/app/search/ResultType.java
+++ b/searchuilib/src/com/android/app/search/ResultType.java
@@ -28,6 +28,7 @@
public static final int ACTION = 1 << 3;
public static final int SETTING = 1 << 4;
public static final int SCREENSHOT = 1 << 5;
- public static final int TIPS = 1 << 2;
- public static final int WIDGETS = 1 << 3;
+ public static final int TIPS = 1 << 6;
+ public static final int WIDGETS = 1 << 7;
+ public static final int PLAY = 1 << 8;
}