Skip to content

Commit

Permalink
[app] call new api: addToPackageSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Tornaco committed Jul 9, 2023
1 parent b95985e commit 213fe81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ public void addToSmartFreezeList(List<AppInfo> appInfos, boolean alsoAddToPkgSet
onProgress.accept(appInfo);
thanosManager.getPkgManager().setPkgSmartFreezeEnabled(Pkg.fromAppInfo(appInfo), true);
if (alsoAddToPkgSet && packageSet != null && !packageSet.isPrebuilt()) {
thanosManager.getPkgManager().addToPackageSet(appInfo.getPkgName(), pkgSetId);
thanosManager.getPkgManager().addToPackageSet(Pkg.fromAppInfo(appInfo), pkgSetId);
}
// Give system a rest
try {
Expand Down

0 comments on commit 213fe81

Please sign in to comment.