summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Sanjana Sunil <sanjanasunil@google.com> 2024-11-06 16:23:11 +0000
committer Sanjana Sunil <sanjanasunil@google.com> 2024-11-15 08:49:06 +0000
commit737b91f90cf593104213f31fa1f60b55414bcd9a (patch)
tree3b8014f5c93bf73ea41d341390e6a827224a2561 /libs/androidfw/ResourceUtils.cpp
parent4e581df6b77452c05b865c23fdd56186f5d15e7b (diff)
Allow dependency installation if caller has suitable permission
If the calling app has INSTALL_DEPENDENCY_SHARED_LIBRARIES permission and the package being installed is a dependency type, allow installation to proceed with no further action. Otherwise, procees with the normal flow of using user action. Bug: 372861622 Test: atest PackageManagerShellCommandInstallTest Flag: android.content.pm.sdk_dependency_installer Change-Id: I3ebe5d4c7850cc249cd25522b422f3c678c8c110
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions