Add avian support
This commit is contained in:
parent
a37d7ae3d2
commit
b4b3ae0f80
2 changed files with 6 additions and 3 deletions
|
@ -22,6 +22,7 @@ import org.xmlpull.v1.XmlPullParserFactory;
|
||||||
*/
|
*/
|
||||||
public class LogUtil {
|
public class LogUtil {
|
||||||
public static String TAG = "net.osmand"; //$NON-NLS-1$
|
public static String TAG = "net.osmand"; //$NON-NLS-1$
|
||||||
|
public static boolean AVIAN_LIBRARY = false;
|
||||||
private static class OsmandLogImplementation implements Log {
|
private static class OsmandLogImplementation implements Log {
|
||||||
|
|
||||||
private final String fullName;
|
private final String fullName;
|
||||||
|
|
|
@ -33,9 +33,11 @@ public class NativeOsmandLibrary extends NativeLibrary {
|
||||||
System.loadLibrary("gnustl_shared");
|
System.loadLibrary("gnustl_shared");
|
||||||
log.debug("Loading native cpufeatures_proxy..."); //$NON-NLS-1$
|
log.debug("Loading native cpufeatures_proxy..."); //$NON-NLS-1$
|
||||||
System.loadLibrary("cpufeatures_proxy");
|
System.loadLibrary("cpufeatures_proxy");
|
||||||
// log.debug("Loading load routing test..."); //$NON-NLS-1$
|
if (LogUtil.AVIAN_LIBRARY) {
|
||||||
// System.loadLibrary("routing_test_jar");
|
log.debug("Loading load routing test..."); //$NON-NLS-1$
|
||||||
// testRoutingPing();
|
System.loadLibrary("routing_test");
|
||||||
|
testRoutingPing();
|
||||||
|
}
|
||||||
if(android.os.Build.VERSION.SDK_INT >= 8) {
|
if(android.os.Build.VERSION.SDK_INT >= 8) {
|
||||||
log.debug("Loading jnigraphics, since Android >= 2.2 ..."); //$NON-NLS-1$
|
log.debug("Loading jnigraphics, since Android >= 2.2 ..."); //$NON-NLS-1$
|
||||||
System.loadLibrary("jnigraphics");
|
System.loadLibrary("jnigraphics");
|
||||||
|
|
Loading…
Reference in a new issue