mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 02:08:20 +00:00
Show independent shortcuts from Hero view
Test: Manual Screenshot: https://screenshot.googleplex.com/6iQGEZADXf9PtWz Bug: 165320033 Change-Id: Ib8db1fc34da4adc39f3bec5557223a1e283380dd
This commit is contained in:
@@ -31,7 +31,9 @@ public class SearchTarget implements Comparable<SearchTarget> {
|
||||
DETAIL(2),
|
||||
ROW(3),
|
||||
ROW_WITH_BUTTON(4),
|
||||
SLICE(5);
|
||||
SLICE(5),
|
||||
SHORTCUT(6),
|
||||
PEOPLE(7);
|
||||
|
||||
private final int mId;
|
||||
ViewType(int id) {
|
||||
@@ -48,7 +50,9 @@ public class SearchTarget implements Comparable<SearchTarget> {
|
||||
SETTINGS_ROW(1, "Settings", ViewType.ROW),
|
||||
SETTINGS_SLICE(2, "Settings", ViewType.SLICE),
|
||||
APP(3, "", ViewType.TOP_HIT),
|
||||
APP_HERO(4, "", ViewType.HERO);
|
||||
APP_HERO(4, "", ViewType.HERO),
|
||||
SHORTCUT(5, "Shortcuts", ViewType.SHORTCUT),
|
||||
PEOPLE(6, "People", ViewType.PEOPLE);
|
||||
|
||||
private final int mId;
|
||||
private final String mTitle;
|
||||
|
||||
Reference in New Issue
Block a user