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 static String TAG = "net.osmand"; //$NON-NLS-1$
|
||||
public static boolean AVIAN_LIBRARY = false;
|
||||
private static class OsmandLogImplementation implements Log {
|
||||
|
||||
private final String fullName;
|
||||
|
|
|
@ -33,9 +33,11 @@ public class NativeOsmandLibrary extends NativeLibrary {
|
|||
System.loadLibrary("gnustl_shared");
|
||||
log.debug("Loading native cpufeatures_proxy..."); //$NON-NLS-1$
|
||||
System.loadLibrary("cpufeatures_proxy");
|
||||
// log.debug("Loading load routing test..."); //$NON-NLS-1$
|
||||
// System.loadLibrary("routing_test_jar");
|
||||
// testRoutingPing();
|
||||
if (LogUtil.AVIAN_LIBRARY) {
|
||||
log.debug("Loading load routing test..."); //$NON-NLS-1$
|
||||
System.loadLibrary("routing_test");
|
||||
testRoutingPing();
|
||||
}
|
||||
if(android.os.Build.VERSION.SDK_INT >= 8) {
|
||||
log.debug("Loading jnigraphics, since Android >= 2.2 ..."); //$NON-NLS-1$
|
||||
System.loadLibrary("jnigraphics");
|
||||
|
|
Loading…
Reference in a new issue