Merge remote-tracking branch 'upstream/develop' into develop

This commit is contained in:
Martin Fietz 2017-04-15 14:32:16 +02:00
commit aad56bea56
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ public final class URLChecker {
} else if (url.startsWith("pcast://")) {
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast://");
return prepareURL(url.substring("pcast://".length()));
} else if (url.startsWith("pcast:")) {
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast:");
return prepareURL(url.substring("pcast:".length()));
} else if (url.startsWith("itpc")) {
if (BuildConfig.DEBUG) Log.d(TAG, "Replacing itpc:// with http://");
return url.replaceFirst("itpc://", "http://");