Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5130482 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Suggest result should launch Bug: 169980192" into ub-launcher3-master

parents b21819e1 7fcd74ab
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);