diff options
author | ByteHamster <info@bytehamster.com> | 2021-11-21 19:57:46 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2021-11-21 19:57:46 +0100 |
commit | dce3b7936069c0ef97d4f3470f156bfb6c78584c (patch) | |
tree | 2f834b3021dbba3c6b9eaf5cf5d2f95a181e10bc | |
parent | efe66b20049d7e695792843ca0d91693b5aa1819 (diff) | |
download | AntennaPod-dce3b7936069c0ef97d4f3470f156bfb6c78584c.zip |
Backport null guid sync errors
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java b/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java index 6d80a6457..74e5d5cdf 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java +++ b/core/src/main/java/de/danoeh/antennapod/core/sync/GuidValidator.java @@ -4,7 +4,8 @@ public class GuidValidator { public static boolean isValidGuid(String guid) { return guid != null - && !guid.trim().isEmpty(); + && !guid.trim().isEmpty() + && !guid.equals("null"); } } |