diff options
| author | 2023-05-09 16:08:17 -0700 | |
|---|---|---|
| committer | 2023-05-09 16:35:52 -0700 | |
| commit | cc045c8cf82fd0968963d414fd0939797e5827a5 (patch) | |
| tree | 8427067e059c0a09d1594e1d614b9b88122b0bac /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | f3192865a3508ecb46959d93685f6087e182eaab (diff) | |
Perform user restriction check before creating install session
If a user is restricted with DISALLOW_INSTALL_APPS restriction,
PackageInstallerSession throws a SecurityException causing PIA to crash.
Perform restriction checks before PIA creates an install session
Test: atest CtsPackageInstallTestCases:UserRestrictionInstallTest
Bug: 280441684
Change-Id: I9e6b9a0e56eea122b17b4e75a5496d158b15eefe
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions