diff options
Diffstat (limited to 'src/de/danoeh/antennapod/util/URLChecker.java')
-rw-r--r-- | src/de/danoeh/antennapod/util/URLChecker.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/de/danoeh/antennapod/util/URLChecker.java b/src/de/danoeh/antennapod/util/URLChecker.java index 13668d4a9..a3c675899 100644 --- a/src/de/danoeh/antennapod/util/URLChecker.java +++ b/src/de/danoeh/antennapod/util/URLChecker.java @@ -1,7 +1,7 @@ package de.danoeh.antennapod.util; import android.util.Log; -import de.danoeh.antennapod.AppConfig; +import de.danoeh.antennapod.BuildConfig; /** Provides methods for checking and editing a URL.*/ public final class URLChecker { @@ -20,10 +20,10 @@ public final class URLChecker { public static String prepareURL(String url) { StringBuilder builder = new StringBuilder(); if (url.startsWith("feed://")) { - if (AppConfig.DEBUG) Log.d(TAG, "Replacing feed:// with http://"); + if (BuildConfig.DEBUG) Log.d(TAG, "Replacing feed:// with http://"); url = url.replace("feed://", "http://"); } else if (!(url.startsWith("http://") || url.startsWith("https://"))) { - if (AppConfig.DEBUG) Log.d(TAG, "Adding http:// at the beginning of the URL"); + if (BuildConfig.DEBUG) Log.d(TAG, "Adding http:// at the beginning of the URL"); builder.append("http://"); } builder.append(url); |