Catch all exceptions when parsing IME meta data
am: dddc438e97
Change-Id: I9cf7bfa63632508fba473b3ae0066579a0dde31a
This commit is contained in:
@@ -3069,8 +3069,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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user