public void freezeAllOnCurrentPage() {
        ContextExtKt.withThanos(getApplication(), new Function1<>() {
            @Override
            public Object invoke(ThanosManager thanosManager) {
                thanosManager.getPkgManager().freezeSmartFreezePackages(
                        listModels.stream().map(appListModel -> Pkg.fromAppInfo(appListModel.appInfo)).collect(Collectors.toList()),
                        new PackageEnableStateChangeListener() {
                            @Override
                            public void onPackageEnableStateChanged(List<Pkg> pkgs) {
                                super.onPackageEnableStateChanged(pkgs);
                                loadModels();
                            }
                        });
                return null;
            }
        });
    }
Null means we load all pkgs
android/app/src/main/java/now/fortuitous/thanos/power/SmartFreezeAppsViewModel.java