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

Commit 276960aa authored by Sumedh Sen's avatar Sumedh Sen
Browse files

Updated documentation for constants in PackageInstaller.SessionParams

Bug: b/217931623
Test: None. Documentation change.
Change-Id: Ibcf1aad9834cb89fd30c2652b013ddf71c841c51
parent 2b31983a
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -1705,20 +1705,22 @@ public class PackageInstaller {
        public @interface UserActionRequirement {}

        /**
         * The installer did not call {@link SessionParams#setRequireUserAction(int)} to
         * specify whether user action should be required for the install.
         * This value is passed by the installer to {@link SessionParams#setRequireUserAction(int)}
         * to indicate that user action is unspecified for this install.
         * {@code requireUserAction} also defaults to this value unless modified by
         * {@link SessionParams#setRequireUserAction(int)}
         */
        public static final int USER_ACTION_UNSPECIFIED = 0;

        /**
         * The installer called {@link SessionParams#setRequireUserAction(int)} with
         * {@code true} to require user action for the install to complete.
         * This value is passed by the installer to {@link SessionParams#setRequireUserAction(int)}
         * to indicate that user action is required for this install.
         */
        public static final int USER_ACTION_REQUIRED = 1;

        /**
         * The installer called {@link SessionParams#setRequireUserAction(int)} with
         * {@code false} to request that user action not be required for this install.
         * This value is passed by the installer to {@link SessionParams#setRequireUserAction(int)}
         * to indicate that user action is not required for this install.
         */
        public static final int USER_ACTION_NOT_REQUIRED = 2;