commit | 5557dd75eeba18837b0585208ce1581a25502e0d | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Fri Oct 04 06:07:35 2024 +0000 |
committer | Jooyung Han <jooyung@google.com> | Fri Oct 04 16:25:46 2024 +0900 |
tree | b0b93ae2d46eac48d31362c36f5d4e4131901ba0 | |
parent | cce927d540dd973b57914c38dac3c018ceb3f27b [diff] |
Handle apexd failures Rethrowing RemoteException causes PackageManager crash. This happens when a device shutting down (init kills apexd while it's being used by PM). Instead, apexd logs an error and returns a reasonable default value (null or empty), except wrapping it in a PackageManagerException in a few methods, which is handled by PM. Bug: 370264486 Change-Id: Ie8aed22f16599f7e1769df2abd4a1e13013d9105 Test: ApexManagerTest