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

Commit c6e9e45d authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Automerger Merge Worker
Browse files

Fix NPE inside ItemInfo am: f24c614a am: 46e9289c

Change-Id: I60f5b10d58078eb9afcf61e6c6c656207a8c3796
parents 33227219 46e9289c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -248,6 +248,7 @@ public class ItemInfo {
        LauncherAtom.ItemInfo.Builder itemBuilder = LauncherAtom.ItemInfo.newBuilder();
        itemBuilder.setIsWork(user != Process.myUserHandle());
        ComponentName cn = getTargetComponent();
        if (cn == null) return itemBuilder.build();
        switch (itemType) {
            case ITEM_TYPE_APPLICATION:
                itemBuilder.setApplication(LauncherAtom.Application.newBuilder()