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

Commit e767e401 authored by Winson's avatar Winson
Browse files

Fix PMS notifyFirstLaunch logic

This was dropped in the first mLock refactor. Re-adds the broadcast
when a package is moved out of not launched.

Change-Id: I056d233d90797187ff7460902931122cc7b40206
parent 0891d4b3
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6192,6 +6192,13 @@ public class PackageManagerService extends IPackageManager.Stub
                }
            });

            if (wasNotLaunched) {
                final String installerPackageName = wasNotLaunchedAndInstallerPackageName.second;
                if (installerPackageName != null) {
                    notifyFirstLaunch(packageName, installerPackageName, userId);
                }
            }

            scheduleWritePackageRestrictions(userId);
        }