Initialize native rendering lazy
This commit is contained in:
parent
cb797ba3e3
commit
5571025001
2 changed files with 3 additions and 2 deletions
|
@ -18,10 +18,11 @@ public class NativeOsmandLibrary {
|
||||||
try {
|
try {
|
||||||
System.loadLibrary("osmand");
|
System.loadLibrary("osmand");
|
||||||
library = new NativeOsmandLibrary();
|
library = new NativeOsmandLibrary();
|
||||||
|
NativeOsmandLibrary.initRenderingRulesStorage(storage);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
isNativeSupported = false;
|
isNativeSupported = false;
|
||||||
}
|
}
|
||||||
NativeOsmandLibrary.initRenderingRulesStorage(storage);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue