Signed-off-by: Mike Beattie <mike@ethernal.org>
editor = prefs.edit();
}
- public AltosPreferencesBackend node(String key) {
- return new AltosDroidPreferences(context, key);
- }
-
- public void flush() {
- editor.apply();
- }
-
public String[] keys() {
Map<String, ?> all = prefs.getAll();
return (String[])all.keySet().toArray();
}
+ public AltosPreferencesBackend node(String key) {
+ return new AltosDroidPreferences(context, key);
+ }
+
public boolean nodeExists(String key) {
return prefs.contains(key);
}
editor.remove(key);
}
+ public void flush() {
+ editor.apply();
+ }
+
}