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

Commit 318e1df1 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 udc-dev

parents 03e7be40 76524da8
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));
            });
        }