remove srtm msg
This commit is contained in:
parent
97deb37d7a
commit
8f16644524
1 changed files with 3 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue