diff --git a/app/src/main/java/com/nutomic/syncthingandroid/model/Options.java b/app/src/main/java/com/nutomic/syncthingandroid/model/Options.java index 404a3944..0bb9f6a1 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/model/Options.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/model/Options.java @@ -57,6 +57,7 @@ public class Options { // Items that may be temporarily missing because they are empty. /** * Possible notification IDs: + * crAutoDisabled (crash reporting after upgrade to v1.2.0) * crAutoEnabled (crash reporting after upgrade to v1.2.0) */ public String unackedNotificationID = ""; diff --git a/app/src/main/java/com/nutomic/syncthingandroid/util/ConfigXml.java b/app/src/main/java/com/nutomic/syncthingandroid/util/ConfigXml.java index 88c1e254..9d0126ad 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/util/ConfigXml.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/util/ConfigXml.java @@ -311,6 +311,7 @@ public class ConfigXml { if (node.getNodeName().equals("unackedNotificationID")) { switch (getContentOrDefault(node, "")) { case "crAutoEnabled": + case "crAutoDisabled": case "fsWatcherNotification": Log.i(TAG, "Remove found unackedNotificationID '" + node + "'."); options.removeChild(node);