summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author bkchoi <bkchoi@google.com> 2022-07-11 13:19:05 -0700
committer bkchoi <bkchoi@google.com> 2022-07-26 20:40:04 -0700
commit2fce0901463af17ebfdb557d01b41cc5e4e97ecf (patch)
tree2292995ebebe0194c6bac198369c5fe0023b8d71 /libs/androidfw/misc.cpp
parent89b866ef03d93f7c165552f317259a01a2c0f3ce (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 Bug: 234877652 Test: atest UserSystemPackageInstallerTest Test: Manual test with gcar_emu_x86_64 emulator Change-Id: I4325565d8acaeffd4aab5a4b6295d325edb738a9
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions