disable the native rendering option when it fails to load

This commit is contained in:
Jindřich Makovička 2012-02-02 21:38:26 +01:00
parent 82cd5092a6
commit d244325cf7

View file

@ -334,6 +334,7 @@ public class OsmandApplication extends Application {
boolean initialized = NativeOsmandLibrary.getLibrary(storage) != null;
if (!initialized) {
LOG.info("Native library could not loaded!");
osmandSettings.NATIVE_RENDERING.set(false);
}
}
warnings = manager.reloadIndexes(startDialog);