1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 00:01:19 +00:00

Follow-up to fix issue #421

unackedNotificationID=crAutoDisabled
This commit is contained in:
Catfriend1 2019-06-17 07:09:32 +02:00
parent a6e5baecbc
commit 107415fd30
2 changed files with 2 additions and 0 deletions

View file

@ -57,6 +57,7 @@ public class Options {
// Items that may be temporarily missing because they are empty. // Items that may be temporarily missing because they are empty.
/** /**
* Possible notification IDs: * Possible notification IDs:
* crAutoDisabled (crash reporting after upgrade to v1.2.0)
* crAutoEnabled (crash reporting after upgrade to v1.2.0) * crAutoEnabled (crash reporting after upgrade to v1.2.0)
*/ */
public String unackedNotificationID = ""; public String unackedNotificationID = "";

View file

@ -311,6 +311,7 @@ public class ConfigXml {
if (node.getNodeName().equals("unackedNotificationID")) { if (node.getNodeName().equals("unackedNotificationID")) {
switch (getContentOrDefault(node, "")) { switch (getContentOrDefault(node, "")) {
case "crAutoEnabled": case "crAutoEnabled":
case "crAutoDisabled":
case "fsWatcherNotification": case "fsWatcherNotification":
Log.i(TAG, "Remove found unackedNotificationID '" + node + "'."); Log.i(TAG, "Remove found unackedNotificationID '" + node + "'.");
options.removeChild(node); options.removeChild(node);