summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author bkchoi <bkchoi@google.com> 2022-07-11 13:19:05 -0700
committer Patrick Baumann <patb@google.com> 2022-12-08 20:13:31 +0000
commitb2fafea71b6d48ab441da56e5d2e0c3fdd68d682 (patch)
tree3a73ffcaa534f059c33fe6af0928d60c5577ca68 /libs/androidfw/ApkParsing.cpp
parent222a476ac525f9bb2cd0c43776597322445824f8 (diff)
Fix a bug in UserSystemPackageInstaller#installWhitelistedSystemPackages
When userWhitelist was not null, it only mutated the packages in userWhitelist, and other packages left untouched. The correct behavior is to iterate all packages and install or uninstall according to userWhitelist. BYPASS_INCLUSIVE_LANGUAGE_REASON=existing code that cannot be changed Fixes: 234877652 Test: atest UserSystemPackageInstallerTest Test: Manual test with gcar_emu_x86_64 emulator (cherry picked from commit 2fce0901463af17ebfdb557d01b41cc5e4e97ecf) Merged-In: I4325565d8acaeffd4aab5a4b6295d325edb738a9 Change-Id: I4325565d8acaeffd4aab5a4b6295d325edb738a9
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions