diff --git a/service/src/main/java/com/github/kr328/clash/service/clash/module/AppListCacheModule.kt b/service/src/main/java/com/github/kr328/clash/service/clash/module/AppListCacheModule.kt index 04c96b24..537e7c2d 100644 --- a/service/src/main/java/com/github/kr328/clash/service/clash/module/AppListCacheModule.kt +++ b/service/src/main/java/com/github/kr328/clash/service/clash/module/AppListCacheModule.kt @@ -14,7 +14,7 @@ class AppListCacheModule(service: Service) : Module(service) { if (sharedUserId != null && sharedUserId.isNotBlank()) sharedUserId else packageName private fun reload() { - val packages = service.packageManager.getInstalledPackages(0) + val packages = service.packageManager.getInstalledPackages() .groupBy { it.uniqueUidName() } .map { (_, v) -> val info = v[0]