diff options
| author | 2021-10-04 14:20:28 +0000 | |
|---|---|---|
| committer | 2021-11-16 13:20:33 -0800 | |
| commit | cdaa918edc9a531bf4f7def0d24d1543b5ef22e6 (patch) | |
| tree | 40418b13b624336141942c5aa603c9442952e617 /cmds/bootanimation/BootAnimation.cpp | |
| parent | d1c32c0cac6445f3d6084b77e5569ac9f5432afe (diff) | |
PackageManagerService: Check for duplicate inactive factory packages
If after a factory reset, APEX modules are updated, duplicate package
names are returned from the API - factory packages are added first and
then inactive factory packages leading to duplication.
After updating APEX modules, inactive factory packages would always be a
subset of factory packages. The fix adds inactive packages only if there
was no factory reset done.
Bug: 200519752
Bug: 200120056
Test: atest 'PackageManagerTest#testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates'
Change-Id: I5b5469fc6879bbeee4dc2ea47b2046ab011a65ce
Merged-In: I5b5469fc6879bbeee4dc2ea47b2046ab011a65ce
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions