summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author John Wu <topjohnwu@google.com> 2021-10-11 13:28:26 -0700
committer John Wu <topjohnwu@google.com> 2021-10-13 21:46:22 +0000
commitd8597aa9a5bc8def9520bb78bb6e9b368292cbdc (patch)
tree431bb84fabb0f345fff80438ff8e9d1c6b01d636 /libs/androidfw/StringPool.cpp
parent439ad1d3cdd97737ca589c3dd24608b36b859df3 (diff)
Support system app update leaving shared UID then getting uninstalled
It is possible for a system app to leave shared user ID by an update. We need to keep track of this in case the upgrade is uninstalled. In this scenario, the shadowed system package will be reinstalled using the original shared UID. This has the side effect of the app ID used by the shared user group being held forever even if no apps is actively using it, because only the app ID is stored in packages.xml, not the sharedUserId name, and we have to use the app ID to link the disabled PackageSetting with the corresponding SharedUserSetting. Test: tracking with b/202993696 Bug: 179284822 Fixes: 201509122 Change-Id: If48aeb7d63daf1ef8bdf06a9d2dd34c1de8603c8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions