mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-18 05:58:30 +00:00
parent
533cb8eb58
commit
0d11f73a1d
@ -67,7 +67,8 @@ class HideViewModel : BaseViewModel(), Queryable {
|
|||||||
.asSequence()
|
.asSequence()
|
||||||
.filter { it.enabled && !blacklist.contains(it.packageName) }
|
.filter { it.enabled && !blacklist.contains(it.packageName) }
|
||||||
.map { HideAppInfo(it, pm) }
|
.map { HideAppInfo(it, pm) }
|
||||||
.map { createTarget(it, hides) }
|
.map { runCatching { createTarget(it, hides) }.getOrNull() }
|
||||||
|
.filterNotNull()
|
||||||
.filter { it.processes.isNotEmpty() }
|
.filter { it.processes.isNotEmpty() }
|
||||||
.map { HideItem(it) }
|
.map { HideItem(it) }
|
||||||
.toList()
|
.toList()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user