From e55d78ab0cf8d27d6c22fd5fbc78714af8d6cc12 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Thu, 26 Jul 2012 08:45:07 +0900 Subject: [PATCH] Stop swallowing an UnsatisfiedLinkError Change-Id: I37d61274e1527229befabae2c392fd78e279b807 --- java/src/com/android/inputmethod/latin/JniUtils.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/JniUtils.java b/java/src/com/android/inputmethod/latin/JniUtils.java index 4808b867a..86a3826d8 100644 --- a/java/src/com/android/inputmethod/latin/JniUtils.java +++ b/java/src/com/android/inputmethod/latin/JniUtils.java @@ -31,11 +31,7 @@ public class JniUtils { try { System.loadLibrary(JniLibName.JNI_LIB_NAME); } catch (UnsatisfiedLinkError ule) { - Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME); - if (LatinImeLogger.sDBG) { - throw new RuntimeException( - "Could not load native library " + JniLibName.JNI_LIB_NAME); - } + Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME, ule); } } }