kopia lustrzana https://github.com/ge0rg/aprsdroid
rodzic
ddf1e4f42c
commit
003f955959
|
@ -26,7 +26,9 @@ class PrefsAct extends PreferenceActivity {
|
|||
try {
|
||||
directory.mkdirs()
|
||||
val prefs = PreferenceManager.getDefaultSharedPreferences(this)
|
||||
val json = new JSONObject(prefs.getAll)
|
||||
val allPrefs = prefs.getAll
|
||||
allPrefs.remove("map_zoom")
|
||||
val json = new JSONObject(allPrefs)
|
||||
val fo = new PrintWriter(file)
|
||||
fo.println(json.toString(2))
|
||||
fo.close()
|
||||
|
|
Ładowanie…
Reference in New Issue