mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +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…
Reference in New Issue
Block a user