mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-25 16:27:24 +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() {
|
fun export() {
|
||||||
// Flush prefs to disk
|
// Flush prefs to disk
|
||||||
prefs.edit().apply()
|
prefs.edit().commit()
|
||||||
val xml = File(
|
val xml = File(
|
||||||
"${get<Context>(Protected).filesDir.parent}/shared_prefs",
|
"${get<Context>(Protected).filesDir.parent}/shared_prefs",
|
||||||
"${packageName}_preferences.xml"
|
"${packageName}_preferences.xml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user