mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Merge "Fixing restored icons sometimes dissapers." into ub-now-master
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user