|
|
@ -351,7 +351,7 @@ class AsyncServiceHelper |
|
|
|
{ |
|
|
|
{ |
|
|
|
Log.d(TAG, "Cannot load library \"" + AbsPath + "\""); |
|
|
|
Log.d(TAG, "Cannot load library \"" + AbsPath + "\""); |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
result &= false; |
|
|
|
result = false; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
return result; |
|
|
@ -377,7 +377,7 @@ class AsyncServiceHelper |
|
|
|
{ |
|
|
|
{ |
|
|
|
// If the dependencies list is not defined or empty.
|
|
|
|
// If the dependencies list is not defined or empty.
|
|
|
|
String AbsLibraryPath = Path + File.separator + "libopencv_java3.so"; |
|
|
|
String AbsLibraryPath = Path + File.separator + "libopencv_java3.so"; |
|
|
|
result &= loadLibrary(AbsLibraryPath); |
|
|
|
result = loadLibrary(AbsLibraryPath); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return result; |
|
|
|
return result; |
|
|
|