gpodder now properly sets the initial data for feeds

This commit is contained in:
Tom Hennen 2015-04-12 15:12:56 -04:00
parent 06fff4bb16
commit 00e37ab582
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.danoeh.antennapod"
android:versionCode="48"
android:versionCode="49"
android:versionName="1.1">
<uses-permission android:name="android.permission.INTERNET"/>

View File

@ -140,7 +140,7 @@ public class GpodnetSyncService extends Service {
private synchronized void processSubscriptionChanges(List<String> localSubscriptions, GpodnetSubscriptionChange changes) throws DownloadRequestException {
for (String downloadUrl : changes.getAdded()) {
if (!localSubscriptions.contains(downloadUrl)) {
Feed feed = new Feed(downloadUrl, new Date());
Feed feed = new Feed(downloadUrl, new Date(0));
DownloadRequester.getInstance().downloadFeed(this, feed);
}
}