Merge pull request #154 from jmakovicka/disable-native-on-failure

disable the native rendering option when it fails to load
This commit is contained in:
vshcherb 2012-02-05 14:17:08 -08:00
commit 1c359d7bbd

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);