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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user