mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
[pixel-search] Change Nasa actions title name
Change-Id: I3e44513d797d867b97664ff2ee46a8e33d020e99
This commit is contained in:
@@ -42,6 +42,7 @@ import com.android.launcher3.model.data.WorkspaceItemInfo;
|
||||
import com.android.launcher3.touch.ItemClickHandler;
|
||||
import com.android.systemui.plugins.AllAppsSearchPlugin;
|
||||
import com.android.systemui.plugins.shared.SearchTarget;
|
||||
import com.android.systemui.plugins.shared.SearchTarget.ItemType;
|
||||
import com.android.systemui.plugins.shared.SearchTargetEvent;
|
||||
|
||||
/**
|
||||
@@ -138,7 +139,7 @@ public class SearchResultIconRow extends DoubleShadowBubbleTextView implements
|
||||
} else {
|
||||
RemoteActionItemInfo remoteItemInfo = (RemoteActionItemInfo) itemInfo;
|
||||
ItemClickHandler.onClickRemoteAction(launcher, remoteItemInfo);
|
||||
searchTargetEvent = getSearchTargetEvent(SearchTarget.ItemType.REMOTE_ACTION,
|
||||
searchTargetEvent = getSearchTargetEvent(ItemType.ACTION,
|
||||
eventType);
|
||||
searchTargetEvent.bundle = new Bundle();
|
||||
searchTargetEvent.remoteAction = remoteItemInfo.getRemoteAction();
|
||||
|
||||
@@ -107,8 +107,9 @@ 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),
|
||||
SUGGEST(9, "Fallback Search", ViewType.SUGGEST);
|
||||
ACTION(8, "Actions", ViewType.SHORTCUT),
|
||||
SUGGEST(9, "Fallback Search", ViewType.SUGGEST),
|
||||
CHROME_TAB(10, "Chrome Tab", ViewType.SHORTCUT);
|
||||
|
||||
private final int mId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user