Catch all exceptions when parsing IME meta data
Bug: 30568284 Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2
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