mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Persist the updated item to DB when a shortcut info is badged for the first time
Bug: 110016648 Change-Id: I8e36b80e9c893de91bce208ceac93a3fcdb557d5
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user