mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
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
This commit is contained in:
parent
23a7998edd
commit
43ea67c23d
@ -95,7 +95,7 @@ final public class BinaryDictionaryGetter {
|
|||||||
try {
|
try {
|
||||||
afd = context.getResources().openRawResourceFd(fallbackResId);
|
afd = context.getResources().openRawResourceFd(fallbackResId);
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
Log.e(TAG, "Resource not found: " + fallbackResId, e);
|
Log.e(TAG, "Resource not found: " + fallbackResId);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (afd == null) {
|
if (afd == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user