Add hillshade plugin
This commit is contained in:
parent
38cd5db91e
commit
3058641866
1 changed files with 3 additions and 1 deletions
|
@ -50,6 +50,8 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|
|||
indexFileNames = getMyApplication().getResourceManager().getIndexFileNames();
|
||||
DownloadIndexActivity.listWithAlternatives(getMyApplication().getAppPath(""),
|
||||
IndexConstants.EXTRA_EXT, indexFileNames);
|
||||
DownloadIndexActivity.listWithAlternatives(getMyApplication().getAppPath(IndexConstants.TILES_INDEX_DIR),
|
||||
IndexConstants.SQLITE_EXT, indexFileNames);
|
||||
getMyApplication().getResourceManager().getBackupIndexes(indexFileNames);
|
||||
}
|
||||
|
||||
|
@ -235,7 +237,7 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|
|||
item.setTextColor(downloadActivity.getResources().getColor(R.color.index_unknown));
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||
} else {
|
||||
if(e.getType() == DownloadActivityType.SRTM_FILE){
|
||||
if(e.getType() == DownloadActivityType.SRTM_FILE || e.getType() == DownloadActivityType.HILLSHADE_FILE){
|
||||
item.setTextColor(downloadActivity.getResources().getColor(R.color.act_index_uptodate)); // GREEN
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||
} else if (e.getDate() != null) {
|
||||
|
|
Loading…
Reference in a new issue