summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2022-04-07 23:24:37 +0000
committer Songchun Fan <schfan@google.com> 2022-04-12 23:16:27 +0000
commit2c8aeb6ae8a10bc6603b0ca8e3b0039049139b2d (patch)
tree43af6ec41f057ebc6299e1bdff6fa8aae09bbaf7 /libs/androidfw/StringPool.cpp
parent7605f736e4e1ab57f69e94a7f6807465fc59a3d5 (diff)
[pm] delete unfinished sessions when installer is uninstalled
A malicious app can create many new sessions without any permission. Prior to this CL, those sessions might remain for days even after the app has been uninstalled. This change makes PackageInstallerService promptly abandon unfinished sessions as soon as the installer package is uninstalled. BUG: 219030339 Test: atest android.content.pm.cts.InstallSessionCleanupTest Change-Id: I72c4a29e031cb47c16c9a0fbafdf68b75c4d6a55
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions