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

Commit c8b997a2 authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Android (Google) Code Review
Browse files

Merge "ComponentName null check MUST proceed before creating ComponentKey."...

Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish
parents dfc8b668 d3bf9803
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4171,6 +4171,10 @@ public class Launcher extends Activity
            return Collections.EMPTY_LIST;
        }
        ComponentName component = info.getTargetComponent();
        if (component == null) {
            return Collections.EMPTY_LIST;
        }

        List<String> ids = mDeepShortcutMap.get(new ComponentKey(component, info.user));
        return ids == null ? Collections.EMPTY_LIST : ids;
    }