diff options
| author | 2023-01-14 00:51:19 +0000 | |
|---|---|---|
| committer | 2023-01-18 16:22:43 +0000 | |
| commit | b1a79007d143684ca4327a4ef853d8f0a460fcdc (patch) | |
| tree | 1684d10576cad7a2da61ccf09f5086b954f985af /libs/androidfw/StringPool.cpp | |
| parent | 08d74434280f0d751c41575455fe3278d7ca2513 (diff) | |
Use ART Service to clear app profiles when it is enabled.
Changed system server initialization order: ArtManagerLocal needs to be
initialized before mPackageManagerService.systemReady() is called,
because that calls CarrierAppUtils.disableCarrierAppsUntilPrivileged,
which may call ApplicationPackageManager.setSystemAppState to set
SYSTEM_APP_STATE_UNINSTALLED, which ends up calling ArtManagerLocal to
clean up any app profiles.
Test: Boot with dalvik.vm.useartservice=true and verify that calls to
clearAppProfilesLIF and destroyAppProfilesLeafLIF during boot
are handled by ART Service.
Bug: 251903639
Change-Id: I8a3a16ce85f315a28fa8459325470cfe5f32ca8c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions