Skip to content

Commit 9e812be

Browse files
tgtakaokagitbuildkicker
authored andcommitted
DO NOT MERGE: Catch all exceptions when parsing IME meta data
Bug: 30568284 Change-Id: I0b613f8ce0f014320c5ac1bf445699ea2702a0a2 (manually cherry picked from 9b2997d22e6ce2a15065d8e7608dd77b316c2065) (cherry picked from commit 7bb4c82)
1 parent 115baf8 commit 9e812be

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

services/core/java/com/android/server/InputMethodManagerService.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2949,10 +2949,8 @@ void buildInputMethodListLocked(ArrayList<InputMethodInfo> list,
29492949
Slog.d(TAG, "Found an input method " + p);
29502950
}
29512951

2952-
} catch (XmlPullParserException e) {
2953-
Slog.w(TAG, "Unable to load input method " + compName, e);
2954-
} catch (IOException e) {
2955-
Slog.w(TAG, "Unable to load input method " + compName, e);
2952+
} catch (Exception e) {
2953+
Slog.wtf(TAG, "Unable to load input method " + compName, e);
29562954
}
29572955
}
29582956

0 commit comments

Comments
 (0)