Almost all the settings are now saved at the end of the state file (This commit and the previous fix #12).

This commit is contained in:
dgis 2020-04-29 00:12:40 +02:00
parent 2353a65772
commit 6765cc7035

View file

@ -48,7 +48,7 @@ public class Settings extends PreferenceDataStore {
private final SharedPreferences defaultSettings; private final SharedPreferences defaultSettings;
private final HashMap<String, Object> embeddedStateSettings = new HashMap<>(); private final HashMap<String, Object> embeddedStateSettings = new HashMap<>();
private SharedPreferences.OnSharedPreferenceChangeListener sharedPreferenceChangeListener; private SharedPreferences.OnSharedPreferenceChangeListener sharedPreferenceChangeListener;
private static String magic = "DGIS"; private static String magic = "MYHP";
private boolean isDefaultSettings = true; private boolean isDefaultSettings = true;