commit | 737b91f90cf593104213f31fa1f60b55414bcd9a | [log] [tgz] |
---|---|---|
author | Sanjana Sunil <sanjanasunil@google.com> | Wed Nov 06 16:23:11 2024 +0000 |
committer | Sanjana Sunil <sanjanasunil@google.com> | Fri Nov 15 08:49:06 2024 +0000 |
tree | 3b8014f5c93bf73ea41d341390e6a827224a2561 | |
parent | 4e581df6b77452c05b865c23fdd56186f5d15e7b [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