Skip to content
Commit 4654609a authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
parent 54d7eb44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment