1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 05:55:06 -05:00

Rename "settings" tag to "global" for global settings (export)

This commit is contained in:
cketti 2011-03-30 04:23:54 +02:00
parent 24785bab66
commit 83b2972a13

View File

@ -26,6 +26,7 @@ public class StorageExporter {
private static final String ROOT_ELEMENT = "k9settings";
private static final String VERSION_ATTRIBUTE = "version";
private static final String GLOBAL_ELEMENT = "global";
private static final String SETTINGS_ELEMENT = "settings";
private static final String ACCOUNTS_ELEMENT = "accounts";
private static final String ACCOUNT_ELEMENT = "account";
@ -95,9 +96,9 @@ public class StorageExporter {
Map<String, ? extends Object> prefs = storage.getAll();
if (includeGlobals) {
serializer.startTag(null, SETTINGS_ELEMENT);
serializer.startTag(null, GLOBAL_ELEMENT);
writeSettings(serializer, prefs);
serializer.endTag(null, SETTINGS_ELEMENT);
serializer.endTag(null, GLOBAL_ELEMENT);
}
serializer.startTag(null, ACCOUNTS_ELEMENT);