Thumbnail/Suggest view type support remote action

Bug: 169330678


Change-Id: I629d3e6b1622bf71e0174eb2489e976ef98875ad
This commit is contained in:
Hyunyoung Song committed 2020-09-29 02:03:48 -07:00
1 parent 49876bbe7e
commit f271139682
5 files changed
+224 -17

No files matched your search

@@ -80,7 +80,12 @@ public class SearchTarget implements Comparable<SearchTarget> {
* N number of 1x1 ratio thumbnail is rendered.
* (current N = 3)
*/
THUMBNAIL(8);
THUMBNAIL(8),
/**
* Fallback search icon and relevant text is rendered.
*/
SUGGEST(9);
private final int mId;
@@ -102,7 +107,8 @@ public class SearchTarget implements Comparable<SearchTarget> {
SHORTCUT(5, "Shortcuts", ViewType.SHORTCUT),
PEOPLE(6, "People", ViewType.PEOPLE),
SCREENSHOT(7, "Screenshots", ViewType.THUMBNAIL),
REMOTE_ACTION(8, "Remote Actions", ViewType.SHORTCUT);
REMOTE_ACTION(8, "Remote Actions", ViewType.SHORTCUT),
SUGGEST(9, "Fallback Search", ViewType.SUGGEST);
private final int mId;