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

Commit bf16d0ed authored by Pinyao Ting's avatar Pinyao Ting Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when fetch shortcut icon uri" into main

parents 792aab22 879e92bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3611,8 +3611,8 @@ public class ShortcutService extends IShortcutService.Stub {

            // Otherwise check persisted shortcuts
            getShortcutInfoAsync(launcherUserId, packageName, shortcutId, userId, si -> {
                cb.complete(getShortcutIconUriInternal(launcherUserId, launcherPackage,
                        packageName, si, userId));
                cb.complete(si == null ? null : getShortcutIconUriInternal(launcherUserId,
                        launcherPackage, packageName, si, userId));
            });
        }