From 43ea67c23d45bea67183402e3a3e923319737b30 Mon Sep 17 00:00:00 2001 From: Dan Zivkovic Date: Fri, 27 Mar 2015 13:47:30 -0700 Subject: [PATCH] Don't log stack trace for missing LM. We only have "en" included in the APK. Everything else shows a stack trace. Bug 19946159 Change-Id: Ie213529d52175eb929b2c875a5558aea347af01f --- .../com/android/inputmethod/latin/BinaryDictionaryGetter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java index f4300c462..9931cc73f 100644 --- a/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java +++ b/java/src/com/android/inputmethod/latin/BinaryDictionaryGetter.java @@ -95,7 +95,7 @@ final public class BinaryDictionaryGetter { try { afd = context.getResources().openRawResourceFd(fallbackResId); } catch (RuntimeException e) { - Log.e(TAG, "Resource not found: " + fallbackResId, e); + Log.e(TAG, "Resource not found: " + fallbackResId); return null; } if (afd == null) {