summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2022-03-08 10:34:19 -0800
committer Yohei Yukawa <yukawa@google.com> 2022-03-08 10:34:19 -0800
commit4654609a7eacf2abe0d8f6cee7126763ecb81ad6 (patch)
treeabe536234efa76e047a51c06fd603a325fa6c73c /libs/androidfw/StringPool.cpp
parent54d7eb4497ebd22dfe6a50bf8015b3baad1add9a (diff)
Catch IllegalArgumentException from PackageManager in InputMethodUtils
PackageManager APIs sometimes throw IllegalArgumentException. Failure to catch them in InputMethodManagerService may result in crash looping at an early boot stage. This CL makes sure that InputMethodUtils can gracefully catch IllegalArgumentException from PackageManagerService without causing crash of system_server. For normal situations, there should be no behavior change in this CL. Fix: 218385726 Test: Manually verified as follows. 1. Build aosp_coral-userdebug and flash it w/ wiping the user data. 2. Build coral-userdebug and flash it w/o wiping user the data. 3. Make sure that the device still boots. Change-Id: I58af03ec96103b60e20758558a92dd9408baab2f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions