summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2023-12-11 13:45:50 -0800
committer Songchun Fan <schfan@google.com> 2023-12-18 14:06:47 -0800
commit291365de73d8c5fa054d2fb9fce8e4035a733708 (patch)
tree69c8ed5c2ed424cc72790a666c5f53c3082bb6bc /libs/androidfw/FileStream.cpp
parentff50b586a4b987d30f11922032cd113811189ccc (diff)
[pm] fix corner cases of DELETE_KEEP_USER with multi-user
Fixing the corner case when DELETE_KEEP_USER is used in one user but not in another user. The key is that before we decide to wipe a PackageSetting, we need to know if the deletion was meant for all users or a specific single user. For the later case, we need to check if the data still exists on other users. BUG: 314207341 Test: manual with steps listed in the bug (will add CTS) Test: atest CtsPackageInstallTestCases Test: atest CtsPackageManagerTest Change-Id: I42c6727e544c63fb5618ca8d6bd46ae5d295833d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions