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:
commit
1c359d7bbd
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue