Fix plugins

This commit is contained in:
Victor Shcherb 2015-02-09 00:51:13 +01:00
parent 8d6a4a19e3
commit d6575cf663

View file

@ -41,7 +41,7 @@ public class SkiMapsPlugin extends OsmandPlugin {
previousRenderer = app.getSettings().RENDERER.get();
app.getSettings().RENDERER.set(RendererRegistry.WINTER_SKI_RENDER);
if(!app.getResourceManager().getIndexFileNames().containsKey("World-ski"+
"_" +IndexConstants.BINARY_MAP_VERSION + IndexConstants.BINARY_MAP_INDEX_EXT)){
IndexConstants.BINARY_MAP_INDEX_EXT)){
Builder dlg = new AlertDialog.Builder(activity);
dlg.setMessage(net.osmand.plus.R.string.world_ski_missing);
dlg.setPositiveButton(net.osmand.plus.R.string.default_buttons_ok, new OnClickListener() {