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