mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 18:33:34 +00:00
Make sure the shared preference is committed
This commit is contained in:
parent
4e4ec73d94
commit
9e1322de25
@ -43,6 +43,7 @@ object TestHandler {
|
|||||||
runBlocking {
|
runBlocking {
|
||||||
ServiceLocator.policyDB.delete(2000)
|
ServiceLocator.policyDB.delete(2000)
|
||||||
Config.suAutoResponse = Config.Value.SU_AUTO_ALLOW
|
Config.suAutoResponse = Config.Value.SU_AUTO_ALLOW
|
||||||
|
Config.prefs.edit().commit()
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user