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

Commit 922a3212 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Settings entry for private space auto lock option" into main

parents 63fc2f79 3f2b6cf9
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -12180,6 +12180,36 @@ public final class Settings {
         */
        public static final String HIDE_PRIVATESPACE_ENTRY_POINT = "hide_privatespace_entry_point";
        /** @hide */
        public static final int PRIVATE_SPACE_AUTO_LOCK_ON_DEVICE_LOCK = 0;
        /** @hide */
        public static final int PRIVATE_SPACE_AUTO_LOCK_AFTER_INACTIVITY = 1;
        /** @hide */
        public static final int PRIVATE_SPACE_AUTO_LOCK_NEVER = 2;
        /**
         * The different auto lock options for private space.
         *
         * @hide
         */
        @IntDef(prefix = {"PRIVATE_SPACE_AUTO_LOCK_"}, value = {
                PRIVATE_SPACE_AUTO_LOCK_ON_DEVICE_LOCK,
                PRIVATE_SPACE_AUTO_LOCK_AFTER_INACTIVITY,
                PRIVATE_SPACE_AUTO_LOCK_NEVER,
        })
        @Retention(RetentionPolicy.SOURCE)
        public @interface PrivateSpaceAutoLockOption {
        }
        /**
         *  Store auto lock value for private space.
         *  The possible values are defined in {@link PrivateSpaceAutoLockOption}.
         *
         * @hide
         */
        public static final String PRIVATE_SPACE_AUTO_LOCK = "private_space_auto_lock";
        /**
         * These entries are considered common between the personal and the managed profile,
         * since the managed profile doesn't get to change them.
+1 −0
Original line number Diff line number Diff line
@@ -867,6 +867,7 @@ public class SettingsBackupTest {
                        Settings.Secure.NEARBY_SHARING_SLICE_URI,
                        Settings.Secure.NOTIFIED_NON_ACCESSIBILITY_CATEGORY_SERVICES,
                        Settings.Secure.ONE_HANDED_TUTORIAL_SHOW_COUNT,
                        Settings.Secure.PRIVATE_SPACE_AUTO_LOCK,
                        Settings.Secure.RELEASE_COMPRESS_BLOCKS_ON_INSTALL,
                        Settings.Secure.SCREENSAVER_COMPLICATIONS_ENABLED,
                        Settings.Secure.SHOW_QR_CODE_SCANNER_SETTING,