Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 48b4b671 authored by Sanjana Sunil's avatar Sanjana Sunil Committed by Android (Google) Code Review
Browse files

Merge "Update dependency installer API with multi-package details" into main

parents ba4e3f41 a9c8e211
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -3617,7 +3617,9 @@ public class PackageInstaller {
         * automatically fetched and installed when installing an app that wants to use these
         * dependencies.
         *
         * <p> This feature is enabled by default.
         * <p> This feature is enabled by default. Note that in the case of a multi-package
         * installation session, no dependencies will be automatically installed even if this field
         * is set to true.
         *
         * @param enableAutoInstallDependencies {@code true} to enable auto-installation of missing
         *                                      SDK or static shared library dependencies,
@@ -4574,6 +4576,9 @@ public class PackageInstaller {
         * Check whether missing SDK or static shared library dependencies should be automatically
         * fetched and installed when installing an app that wants to use these dependencies.
         *
         * <p> Note that in the case of a multi-package installation session, no dependencies will
         * be automatically installed even if this method returns true.
         *
         * @return true if the dependencies will be auto-installed, false otherwise.
         */
        @FlaggedApi(Flags.FLAG_SDK_DEPENDENCY_INSTALLER)