Add a settings key to expose the device's repair mode state
Bug: 277561275 Test: atest SettingsBackupTest Change-Id: I35dd77bb99ca7e2eecc8439c2c61481c658c5052
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user