Catch all exceptions when parsing IME meta data

Bug: 30568284
Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2
This commit is contained in:
Tadashi G. Takaoka
2016-09-16 11:41:07 +09:00
parent f3f6921b57
commit dddc438e97

View File

@@ -3069,8 +3069,8 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
if (DEBUG) {
Slog.d(TAG, "Found an input method " + p);
}
} catch (XmlPullParserException | IOException e) {
Slog.w(TAG, "Unable to load input method " + compName, e);
} catch (Exception e) {
Slog.wtf(TAG, "Unable to load input method " + compName, e);
}
}