mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-16 07:32:18 +08:00
Merge cf06d667a0
into bc8c24af3b
This commit is contained in:
commit
743b405c3a
|
@ -14,7 +14,7 @@ class AppListCacheModule(service: Service) : Module<Unit>(service) {
|
||||||
if (sharedUserId != null && sharedUserId.isNotBlank()) sharedUserId else packageName
|
if (sharedUserId != null && sharedUserId.isNotBlank()) sharedUserId else packageName
|
||||||
|
|
||||||
private fun reload() {
|
private fun reload() {
|
||||||
val packages = service.packageManager.getInstalledPackages(0)
|
val packages = service.packageManager.getInstalledPackages()
|
||||||
.groupBy { it.uniqueUidName() }
|
.groupBy { it.uniqueUidName() }
|
||||||
.map { (_, v) ->
|
.map { (_, v) ->
|
||||||
val info = v[0]
|
val info = v[0]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user