Merge "Persist the updated item to DB when a shortcut info is badged for the first time" into ub-launcher3-edmonton-polish
This commit is contained in:
commit
2de013874f
|
@ -640,6 +640,7 @@ public class LauncherModel extends BroadcastReceiver
|
|||
@Override
|
||||
public void execute(LauncherAppState app, BgDataModel dataModel, AllAppsList apps) {
|
||||
ShortcutInfo info = shortcutProvider.get();
|
||||
getModelWriter().updateItemInDatabase(info);
|
||||
ArrayList<ShortcutInfo> update = new ArrayList<>();
|
||||
update.add(info);
|
||||
bindUpdatedShortcuts(update, info.user);
|
||||
|
|
Loading…
Reference in New Issue