This commit is contained in:
MorphlingAI 2024-06-08 18:39:53 +08:00 committed by GitHub
commit 3a4df3ee44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,7 +14,7 @@ class AppListCacheModule(service: Service) : Module<Unit>(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]