summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src
diff options
context:
space:
mode:
author Jackal Guo <jackalguo@google.com> 2022-11-09 14:35:20 +0800
committer Jackal Guo <jackalguo@google.com> 2022-11-17 09:59:59 +0800
commit3aa2123a4c877289517e3dcb0a2579a42322b228 (patch)
tree990d41397b7ee32475810294d5a515fe6d56218c /tests/DynamicCodeLoggerIntegrationTests/src
parent1cf918181531b58f387bece6737c6fdf6a2c8635 (diff)
Validate EXTRA_INSTALLER_PACKAGE_NAME
When installing an app via ACTION_INSTALL_PACKAGE, the caller could use this extra field to specify the installer package name. As using PackageInstaller APIs, we should limit setting the installer package name that is not the caller only when apps with INSTALL_PACKAGES permission. Also applying the max package name length restriction. Bug: 236687884 Test: atest CtsPackageInstallTestCases Test: manually using the PoC in the buganizer to ensure the symptom no longer exists. Change-Id: I74eb4ea2e2733321b5fbf328a9835a3ca7d0dfa9
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions