mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 20:15:29 +00:00
Flush settings to persistent storage
This commit is contained in:
parent
5aafc78847
commit
2225ccb146
@ -199,7 +199,7 @@ object Config : PreferenceModel, DBConfig {
|
||||
|
||||
fun export() {
|
||||
// Flush prefs to disk
|
||||
prefs.edit().apply()
|
||||
prefs.edit().commit()
|
||||
val xml = File(
|
||||
"${get<Context>(Protected).filesDir.parent}/shared_prefs",
|
||||
"${packageName}_preferences.xml"
|
||||
|
Loading…
Reference in New Issue
Block a user