diff options
| author | 2023-03-18 00:51:41 +0000 | |
|---|---|---|
| committer | 2023-03-20 12:54:53 +0000 | |
| commit | 4ae13e08bcadda77b9cc8d6d0c06d1cdf27fc842 (patch) | |
| tree | 37e813b36fda4448740465e03ab4d07ef773a473 /api/api.go | |
| parent | 35943147d2864c784e957ea1ff10ae047471029c (diff) | |
Fix init order problem between PackageManagerService and ArtManagerLocal.
PackageManagerService calls initSystemApps in its constructor, which
may try to call ArtManagerLocal.clearAppProfiles, but ArtManagerLocal
hasn't yet been registered at that point (it depends on PMS).
Work around the problem by skipping the clearing of profiles in that
case, since both ART Service and the ART runtime ignore invalid
profiles.
Test: atest apex_apkinapex_tests
with dalvik.vm.useartservice=true
Bug: 273923424
Change-Id: I8571c960b78cff3622f8bd5d05cd2ed8b9b6f4f1
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions