diff options
| author | 2022-04-07 23:24:37 +0000 | |
|---|---|---|
| committer | 2022-04-12 23:16:27 +0000 | |
| commit | 2c8aeb6ae8a10bc6603b0ca8e3b0039049139b2d (patch) | |
| tree | 43af6ec41f057ebc6299e1bdff6fa8aae09bbaf7 /libs/androidfw/StringPool.cpp | |
| parent | 7605f736e4e1ab57f69e94a7f6807465fc59a3d5 (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