private List<AppListModel> getSmartFreezeApps() {
        return ContextExtKt.withThanos(getApplication(), thanosManager -> {
            PackageSet packageSet = pkgSetId == null ? null : thanosManager.getPkgManager().getPackageSetById(pkgSetId, true, false);
            List<AppListModel> res = new ArrayList<>();
            for (Pkg pkg : thanosManager.getPkgManager().getSmartFreezePkgs()) {
                XLog.v("getSmartFreezeApps pkg: " + pkg);
                AppInfo appInfo = thanosManager.getPkgManager().getAppInfoForUser(pkg.getPkgName(), pkg.getUserId());
                if (appInfo != null && (packageSet == null || packageSet.getPkgList().contains(pkg))) {
                    XLog.v("getSmartFreezeApps app: %s, enabled: %s", appInfo.getPkgName(), !appInfo.disabled());
                    AppListModel model = new AppListModel(appInfo);
                    res.add(model);
                }
            }

            AppSort sort = currentSort.get();
            if (sort != null) {
                // inflate usage stats if necessary.
                if (sort.relyOnUsageStats()) {
                    inflateAppUsageStats(res);
                }

                AppSort.AppSorterProvider appSorterProvider = sort.provider;
                if (appSorterProvider != null) {
                    res.sort(appSorterProvider.comparator(getApplication()));
                    if (sortReverse.get()) {
                        Collections.reverse(res);
                    }
                }
            }

            return res;
        }, new ArrayList<>(0));
    }
Null means we load all pkgs
android/app/src/main/java/now/fortuitous/thanos/power/SmartFreezeAppsViewModel.java