disable the native rendering option when it fails to load
This commit is contained in:
parent
82cd5092a6
commit
d244325cf7
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ public class OsmandApplication extends Application {
|
||||||
boolean initialized = NativeOsmandLibrary.getLibrary(storage) != null;
|
boolean initialized = NativeOsmandLibrary.getLibrary(storage) != null;
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
LOG.info("Native library could not loaded!");
|
LOG.info("Native library could not loaded!");
|
||||||
|
osmandSettings.NATIVE_RENDERING.set(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
warnings = manager.reloadIndexes(startDialog);
|
warnings = manager.reloadIndexes(startDialog);
|
||||||
|
|
Loading…
Reference in a new issue