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

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

Merge "Using package update event as well for restoring promise icons" into...

Merge "Using package update event as well for restoring promise icons" into ub-launcher3-dorval-polish
parents e9fcc719 2ee15ef3
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -226,7 +226,9 @@ public class PackageUpdatedTask extends ExtendedModelTask {
                        if (cn != null && matcher.matches(si, cn)) {
                            AppInfo appInfo = addedOrUpdatedApps.get(cn);

                            if (si.isPromise() && mOp == OP_ADD) {
                            // For system apps, package manager send OP_UPDATE when an
                            // app is enabled.
                            if (si.isPromise() && (mOp == OP_ADD || mOp == OP_UPDATE)) {
                                if (si.hasStatusFlag(ShortcutInfo.FLAG_AUTOINSTALL_ICON)) {
                                    // Auto install icon
                                    LauncherAppsCompat launcherApps