Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
aad56bea56
|
@ -37,6 +37,9 @@ public final class URLChecker {
|
||||||
} else if (url.startsWith("pcast://")) {
|
} else if (url.startsWith("pcast://")) {
|
||||||
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast://");
|
if (BuildConfig.DEBUG) Log.d(TAG, "Removing pcast://");
|
||||||
return prepareURL(url.substring("pcast://".length()));
|
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")) {
|
} else if (url.startsWith("itpc")) {
|
||||||
if (BuildConfig.DEBUG) Log.d(TAG, "Replacing itpc:// with http://");
|
if (BuildConfig.DEBUG) Log.d(TAG, "Replacing itpc:// with http://");
|
||||||
return url.replaceFirst("itpc://", "http://");
|
return url.replaceFirst("itpc://", "http://");
|
||||||
|
|
Loading…
Reference in New Issue