Skip to content
Snippets Groups Projects
Commit e55d78ab authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Stop swallowing an UnsatisfiedLinkError

Change-Id: I37d61274e1527229befabae2c392fd78e279b807
parent d28858eb
No related branches found
No related tags found
No related merge requests found
...@@ -31,11 +31,7 @@ public class JniUtils { ...@@ -31,11 +31,7 @@ public class JniUtils {
try { try {
System.loadLibrary(JniLibName.JNI_LIB_NAME); System.loadLibrary(JniLibName.JNI_LIB_NAME);
} catch (UnsatisfiedLinkError ule) { } catch (UnsatisfiedLinkError ule) {
Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME); Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME, ule);
if (LatinImeLogger.sDBG) {
throw new RuntimeException(
"Could not load native library " + JniLibName.JNI_LIB_NAME);
}
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment