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) {
|
||||
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