@SneakyThrows
    public List<Pkg> getSmartFreezePkgs() {
        List<Pkg> res = pm.getSmartFreezePkgs();
        if (res == null) {
            res = new ArrayList<>(0);
        }
        return res;
    }
@deprecated User {{@link #getUidForPkgName(Pkg)} instead}
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/PackageManager.java