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

Commit 2de01387 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Persist the updated item to DB when a shortcut info is badged for the...

Merge "Persist the updated item to DB when a shortcut info is badged for the first time" into ub-launcher3-edmonton-polish
parents 56ded9c4 f266deb2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);