summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorRhed Jao <rhedjao@google.com>2021-09-16 12:04:28 +0800
committerRhed Jao <rhedjao@google.com>2021-09-22 17:15:35 +0800
commitb62f02cb147d26aa6efd2d01560e4e1d0b3eb12b (patch)
tree91c18b22e9e132372712622003a5a284a4377261 /core/java/android/inputmethodservice/InputMethodService.java
parentc1349106f94b8273a8d8cf425790656145ddc136 (diff)
Fix an IllegalStateException in the OverlayConfigParser
The issue could be reproduced when the device defined an overlay configuration file and an overlay package which was in the configuration file also declared the required system property in its manifest. The device works fine when the required system property matches the corresponding value on the device. But an IllegalStateException was thrown from the system if it didn't match. The root cause is that the package parser fails to parse the overlay package if the required system property in the manifest does not match the corresponding value on the device. It resulted in the OverlayConfigParser could not find the package present in the partition and throws the exception. To resolve this issue, this CL skips the overlay configuration if the package not found was caused by the system property conditionon on the device. Bug: 193422327 Test: atest OverlayConfigTest Change-Id: I5650d796d92e3c4825b0d035e8e3b18f36d4cb47
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions