diff --git a/app/src/main/java/icu/nullptr/hidemyapplist/util/PackageHelper.kt b/app/src/main/java/icu/nullptr/hidemyapplist/util/PackageHelper.kt index d6ad59bd..e30a1d26 100644 --- a/app/src/main/java/icu/nullptr/hidemyapplist/util/PackageHelper.kt +++ b/app/src/main/java/icu/nullptr/hidemyapplist/util/PackageHelper.kt @@ -69,7 +69,7 @@ object PackageHelper { hmaApp.globalScope.launch { mRefreshing.emit(true) val cache = withContext(Dispatchers.IO) { - val packages = pm.getInstalledPackages(0) + val packages = pm.getInstalledPackages(PackageManager.MATCH_UNINSTALLED_PACKAGES) mutableMapOf().also { for (packageInfo in packages) { if (packageInfo.packageName in Constants.packagesShouldNotHide) continue