mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 18:37:39 +00:00
Moved diff computation of policy list to the background thread
This commit is contained in:
parent
dd76a74e1c
commit
982a43fce1
@ -61,9 +61,10 @@ class SuperuserViewModel(
|
||||
{ it.item.packageName }
|
||||
))
|
||||
}
|
||||
.map { it to items.calculateDiff(it) }
|
||||
.applySchedulers()
|
||||
.applyViewModel(this)
|
||||
.subscribeK { items.update(it) }
|
||||
.subscribeK { items.update(it.first, it.second) }
|
||||
.add()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user