News download.
This commit is contained in:
parent
563d17890a
commit
e11aaa0ad8
@ -411,7 +411,7 @@ public class ActivityMainScreen extends ActivityGeneric
|
||||
else
|
||||
Miscellaneous.logEvent("i", "ActivityMainScreen", "Activity not running. No need to update.", 5);
|
||||
|
||||
activityMainScreenInstance.checkForNews();
|
||||
// activityMainScreenInstance.checkForNews();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -45,7 +45,7 @@ public class News
|
||||
cal.setTimeInMillis(Long.parseLong(publishDateString));
|
||||
newsEntry.setPublishDate(cal);
|
||||
|
||||
newsEntry.setText(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent());
|
||||
newsEntry.setApplicablePlattform(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent());
|
||||
|
||||
returnList.add(newsEntry);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user