Merge pull request #2127 from k9mail/global-setting-pgpSignOnlyDialogCounter

Add missing pgpSignOnlyDialogCounter to GlobalSettings
This commit is contained in:
cketti 2017-01-24 14:54:57 +01:00 committed by GitHub
commit cd0075a77a
2 changed files with 4 additions and 1 deletions

View file

@ -279,6 +279,9 @@ public class GlobalSettings {
s.put("pgpInlineDialogCounter", Settings.versions( s.put("pgpInlineDialogCounter", Settings.versions(
new V(43, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0)) new V(43, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0))
)); ));
s.put("pgpSignOnlyDialogCounter", Settings.versions(
new V(45, new IntegerRangeSetting(0, Integer.MAX_VALUE, 0))
));
SETTINGS = Collections.unmodifiableMap(s); SETTINGS = Collections.unmodifiableMap(s);

View file

@ -35,7 +35,7 @@ public class Settings {
* *
* @see SettingsExporter * @see SettingsExporter
*/ */
public static final int VERSION = 44; public static final int VERSION = 45;
public static Map<String, Object> validate(int version, Map<String, public static Map<String, Object> validate(int version, Map<String,
TreeMap<Integer, SettingsDescription>> settings, TreeMap<Integer, SettingsDescription>> settings,