Cleanup code
This commit is contained in:
parent
8520900597
commit
22797fd7b2
@ -236,7 +236,6 @@
|
||||
android:value="de.danoeh.antennapod.activity.MainActivity"/>
|
||||
|
||||
<!-- URLs ending with '.xml' or '.rss' -->
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
||||
@ -252,7 +251,6 @@
|
||||
</intent-filter>
|
||||
|
||||
<!-- Feedburner URLs -->
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
||||
@ -268,7 +266,6 @@
|
||||
</intent-filter>
|
||||
|
||||
<!-- Files with mimeType rss/xml/atom -->
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
||||
@ -284,7 +281,6 @@
|
||||
</intent-filter>
|
||||
|
||||
<!-- Podcast protocols -->
|
||||
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
|
||||
@ -297,8 +293,7 @@
|
||||
<data android:scheme="antennapod-subscribe"/>
|
||||
</intent-filter>
|
||||
|
||||
<!--Support for subscribeonandroid.com URLS-->
|
||||
|
||||
<!-- Support for subscribeonandroid.com URLS -->
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
|
||||
@ -311,8 +306,6 @@
|
||||
<data android:host="*subscribeonandroid.com" />
|
||||
<data android:scheme="http" />
|
||||
<data android:scheme="https" />
|
||||
|
||||
|
||||
</intent-filter>
|
||||
|
||||
<intent-filter>
|
||||
@ -357,8 +350,6 @@
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
|
||||
|
||||
<provider
|
||||
android:authorities="@string/provider_authority"
|
||||
android:name="androidx.core.content.FileProvider"
|
||||
|
@ -134,9 +134,9 @@ public class OnlineFeedViewActivity extends AppCompatActivity {
|
||||
} else {
|
||||
Log.d(TAG, "Activity was started with url " + feedUrl);
|
||||
setLoadingLayout();
|
||||
//Remove subscribeonandroid.com from feed URL in order to subscribe to the actual feed URL
|
||||
if(feedUrl.contains("subscribeonandroid.com")){
|
||||
feedUrl = feedUrl.replaceFirst("((www.)?(subscribeonandroid.com/))","");
|
||||
// Remove subscribeonandroid.com from feed URL in order to subscribe to the actual feed URL
|
||||
if (feedUrl.contains("subscribeonandroid.com")) {
|
||||
feedUrl = feedUrl.replaceFirst("((www.)?(subscribeonandroid.com/))", "");
|
||||
}
|
||||
if (savedInstanceState == null) {
|
||||
startFeedDownload(feedUrl, null, null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user