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

Commit 9623a995 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing restored icons sometimes dissapers.

Change-Id: I24153dd1a4b34b8caf1eb9de601bf54e72a3bd9f
parent e86b9d79
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -185,7 +185,8 @@ public class ShortcutInfo extends ItemInfo {
        String titleStr = title != null ? title.toString() : null;
        values.put(LauncherSettings.BaseLauncherColumns.TITLE, titleStr);

        String uri = intent != null ? intent.toUri(0) : null;
        String uri = restoredIntent != null ? restoredIntent.toUri(0)
                : (intent != null ? intent.toUri(0) : null);
        values.put(LauncherSettings.BaseLauncherColumns.INTENT, uri);

        if (customIcon) {