Merge "Suggest result should launch Bug: 169980192" into ub-launcher3-master
This commit is contained in:
commit
a5130482ae
|
@ -96,7 +96,8 @@ public class SearchResultSuggestRow extends LinearLayout implements
|
||||||
private void handleSelection(int eventType) {
|
private void handleSelection(int eventType) {
|
||||||
ItemInfo itemInfo = (ItemInfo) getTag();
|
ItemInfo itemInfo = (ItemInfo) getTag();
|
||||||
Launcher launcher = Launcher.getLauncher(getContext());
|
Launcher launcher = Launcher.getLauncher(getContext());
|
||||||
if (itemInfo instanceof RemoteActionItemInfo) return;
|
|
||||||
|
if (!(itemInfo instanceof RemoteActionItemInfo)) return;
|
||||||
|
|
||||||
RemoteActionItemInfo remoteItemInfo = (RemoteActionItemInfo) itemInfo;
|
RemoteActionItemInfo remoteItemInfo = (RemoteActionItemInfo) itemInfo;
|
||||||
ItemClickHandler.onClickRemoteAction(launcher, remoteItemInfo);
|
ItemClickHandler.onClickRemoteAction(launcher, remoteItemInfo);
|
||||||
|
|
Loading…
Reference in New Issue