Catch all exceptions when parsing IME meta data

am: dddc438e97

Change-Id: I9f804f593e7435d5efff120c861353a9841bd479
This commit is contained in:
Tadashi G. Takaoka
2016-09-16 22:05:04 +00:00
committed by android-build-merger

View File

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