Thumbnail/Suggest view type support remote action

Bug: 169330678


Change-Id: I629d3e6b1622bf71e0174eb2489e976ef98875ad
This commit is contained in:
Hyunyoung Song
2020-09-28 01:53:31 -07:00
parent 49876bbe7e
commit f271139682
5 changed files with 224 additions and 17 deletions

View File

@@ -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;