diff options
| author | 2024-10-04 06:07:35 +0000 | |
|---|---|---|
| committer | 2024-10-04 16:25:46 +0900 | |
| commit | 5557dd75eeba18837b0585208ce1581a25502e0d (patch) | |
| tree | b0b93ae2d46eac48d31362c36f5d4e4131901ba0 /libs/androidfw/ObbFile.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions