Merge "Add a settings key to expose the device's repair mode state" into udc-qpr-dev

This commit is contained in:
Rhed Jao
2023-05-15 04:32:38 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -17990,6 +17990,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

View File

@@ -592,6 +592,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,