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

Commit d307a838 authored by Daniel Jacob Chittoor's avatar Daniel Jacob Chittoor Committed by Nishith Khanna
Browse files

sdk: Add HW_KILL_SWITCH_ENABLED setting

parent 65e7ce0e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -2077,6 +2077,15 @@ public final class LineageSettings {
        public static final Validator ENABLE_TASKBAR_VALIDATOR =
                sBooleanValidator;

        /**
         * Whether hardware kill-switch is enabled or not.
         */
        public static final String HW_KILL_SWITCH_ENABLED = "hw_kill_switch_enabled";

        /** @hide */
        public static final Validator HW_KILL_SWITCH_ENABLED_VALIDATOR =
                sBooleanValidator;

        /**
         * I can haz more bukkits
         * @hide
@@ -2253,6 +2262,8 @@ public final class LineageSettings {
                    CLICK_PARTIAL_SCREENSHOT_VALIDATOR);
            VALIDATORS.put(ENABLE_TASKBAR,
                    ENABLE_TASKBAR_VALIDATOR);
            VALIDATORS.put(HW_KILL_SWITCH_ENABLED,
                    HW_KILL_SWITCH_ENABLED_VALIDATOR);
            VALIDATORS.put(__MAGICAL_TEST_PASSING_ENABLER,
                    __MAGICAL_TEST_PASSING_ENABLER_VALIDATOR);
        };