News download.

This commit is contained in:
jens 2021-02-20 12:02:29 +01:00
parent 563d17890a
commit e11aaa0ad8
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ public class ActivityMainScreen extends ActivityGeneric
else else
Miscellaneous.logEvent("i", "ActivityMainScreen", "Activity not running. No need to update.", 5); Miscellaneous.logEvent("i", "ActivityMainScreen", "Activity not running. No need to update.", 5);
activityMainScreenInstance.checkForNews(); // activityMainScreenInstance.checkForNews();
} }
@Override @Override

View File

@ -45,7 +45,7 @@ public class News
cal.setTimeInMillis(Long.parseLong(publishDateString)); cal.setTimeInMillis(Long.parseLong(publishDateString));
newsEntry.setPublishDate(cal); newsEntry.setPublishDate(cal);
newsEntry.setText(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent()); newsEntry.setApplicablePlattform(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent());
returnList.add(newsEntry); returnList.add(newsEntry);
} }