Add API to enable/disable auto dependency installer
Installers should be able to turn off the auto installation behavior if
desired - add new a new setter in SessionParams that will be used to
control this behavior, along with a getter in SessionInfo.
While installing an app, check if this value is enabled before
proceeding.
Bug: 372861776
Flag: android.content.pm.sdk_dependency_installer
Test: atest InstallSessionParamsUnitTest
Test: atest PackageManagerShellCommandInstallTest
Change-Id: I609ff819346b35319cae92cd20076c3faf76bda9
4 files changed