From dce3b7936069c0ef97d4f3470f156bfb6c78584c Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sun, 21 Nov 2021 19:57:46 +0100 Subject: [PATCH] Backport null guid sync errors --- .../java/de/danoeh/antennapod/core/sync/GuidValidator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } }