remove srtm msg

This commit is contained in:
Victor Shcherb 2012-12-30 03:28:20 +03:00
parent 97deb37d7a
commit 8f16644524

View file

@ -554,7 +554,9 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
} }
protected void downloadFilesPreCheckSRTM(final List<DownloadEntry> list) { protected void downloadFilesPreCheckSRTM(final List<DownloadEntry> list) {
if (type == DownloadActivityType.SRTM_FILE) { if (type == DownloadActivityType.SRTM_FILE &&
OsmandPlugin.getEnabledPlugin(SRTMPlugin.class) instanceof SRTMPlugin &&
!OsmandPlugin.getEnabledPlugin(SRTMPlugin.class).isPaid()) {
Builder msg = new AlertDialog.Builder(this); Builder msg = new AlertDialog.Builder(this);
msg.setTitle(R.string.srtm_paid_version_title); msg.setTitle(R.string.srtm_paid_version_title);
msg.setMessage(getString(R.string.srtm_paid_version_msg)); msg.setMessage(getString(R.string.srtm_paid_version_msg));