diff --git a/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java b/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java index 336367be19..fd193284d1 100644 --- a/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/UpdatesIndexFragment.java @@ -42,8 +42,7 @@ public class UpdatesIndexFragment extends SherlockListFragment { updateColor = getResources().getColor(R.color.color_update); osmandRegions = getMyApplication().getResourceManager().getOsmandRegions(); List indexItems = new ArrayList(); - if (DownloadActivity.downloadListIndexThread != null && - DownloadActivity.downloadListIndexThread.getItemsToUpdate() != null) { + if (DownloadActivity.downloadListIndexThread != null) { indexItems = DownloadActivity.downloadListIndexThread.getItemsToUpdate(); } listAdapter = new UpdateIndexAdapter(getDownloadActivity(), R.layout.download_index_list_item, indexItems);