diff options
| author | Sanjana Sunil <sanjanasunil@google.com> | 2021-10-04 14:20:28 +0000 |
|---|---|---|
| committer | Sanjana Sunil <sanjanasunil@google.com> | 2021-10-05 05:23:32 +0000 |
| commit | 56172ee863407dc2e102cc2bac4949c0a0c90907 (patch) | |
| tree | 580606d824d60cac5960bcb82dcb478f854e1744 /core/java/android/widget/TextView.java | |
| parent | bf23230dc0cc32eb8f0560bf9be0d0d8cacb3be3 (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
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions
