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

Commit 5af73f5f authored by Rhed Jao's avatar Rhed Jao
Browse files

Add a settings key to expose the device's repair mode state

Bug: 277561275
Test: atest SettingsBackupTest
Change-Id: I35dd77bb99ca7e2eecc8439c2c61481c658c5052
parent 37f2d128
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -17977,6 +17977,15 @@ public final class Settings {
        public static final String REVIEW_PERMISSIONS_NOTIFICATION_STATE =
                "review_permissions_notification_state";
        /**
         * Whether repair mode is active on the device.
         * <p>
         * Set to 1 for true and 0 for false.
         *
         * @hide
         */
        public static final String REPAIR_MODE_ACTIVE = "repair_mode_active";
        /**
         * Settings migrated from Wear OS settings provider.
         * @hide
+1 −0
Original line number Diff line number Diff line
@@ -591,6 +591,7 @@ public class SettingsBackupTest {
                    Settings.Global.APPOP_HISTORY_BASE_INTERVAL_MILLIS,
                    Settings.Global.AUTO_REVOKE_PARAMETERS,
                    Settings.Global.ENABLE_RADIO_BUG_DETECTION,
                    Settings.Global.REPAIR_MODE_ACTIVE,
                    Settings.Global.RADIO_BUG_WAKELOCK_TIMEOUT_COUNT_THRESHOLD,
                    Settings.Global.RADIO_BUG_SYSTEM_ERROR_COUNT_THRESHOLD,
                    Settings.Global.ENABLED_SUBSCRIPTION_FOR_SLOT,