From 434cd7735ad74a9c90a4ce8a980139d5d3c1e636 Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Tue, 24 Jan 2017 13:32:33 +0100 Subject: [PATCH] add missing pgpSignOnlyDialogCounter to GlobalSettings --- .../src/main/java/com/fsck/k9/preferences/GlobalSettings.java | 3 +++ k9mail/src/main/java/com/fsck/k9/preferences/Settings.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/k9mail/src/main/java/com/fsck/k9/preferences/GlobalSettings.java b/k9mail/src/main/java/com/fsck/k9/preferences/GlobalSettings.java index 8a2639617..8bef28617 100644 --- a/k9mail/src/main/java/com/fsck/k9/preferences/GlobalSettings.java +++ b/k9mail/src/main/java/com/fsck/k9/preferences/GlobalSettings.java @@ -279,6 +279,9 @@ public class GlobalSettings { s.put("pgpInlineDialogCounter", Settings.versions( 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); diff --git a/k9mail/src/main/java/com/fsck/k9/preferences/Settings.java b/k9mail/src/main/java/com/fsck/k9/preferences/Settings.java index 885e0fa98..10891a567 100644 --- a/k9mail/src/main/java/com/fsck/k9/preferences/Settings.java +++ b/k9mail/src/main/java/com/fsck/k9/preferences/Settings.java @@ -35,7 +35,7 @@ public class Settings { * * @see SettingsExporter */ - public static final int VERSION = 44; + public static final int VERSION = 45; public static Map validate(int version, Map> settings,