Merge "Add MANAGED_PROVISIONING_DPC_DOWNLOADED." into qt-dev

This commit is contained in:
Jonathan Scott
2019-09-06 11:20:56 +00:00
committed by Android (Google) Code Review
2 changed files with 13 additions and 0 deletions

View File

@@ -5947,6 +5947,18 @@ public final class Settings {
@Deprecated
public static final String DEVICE_PROVISIONED = Global.DEVICE_PROVISIONED;
/**
* Indicates whether a DPC has been downloaded during provisioning.
*
* <p>Type: int (0 for false, 1 for true)
*
* <p>If this is true, then any attempts to begin setup again should result in factory reset
*
* @hide
*/
public static final String MANAGED_PROVISIONING_DPC_DOWNLOADED =
"managed_provisioning_dpc_downloaded";
/**
* Indicates whether the current user has completed setup via the setup wizard.
* <p>

View File

@@ -714,6 +714,7 @@ public class SettingsBackupTest {
Settings.Secure.PACKAGES_TO_CLEAR_DATA_BEFORE_FULL_RESTORE,
Settings.Secure.FLASHLIGHT_AVAILABLE,
Settings.Secure.FLASHLIGHT_ENABLED,
Settings.Secure.MANAGED_PROVISIONING_DPC_DOWNLOADED,
Settings.Secure.CROSS_PROFILE_CALENDAR_ENABLED,
Settings.Secure.LOCATION_ACCESS_CHECK_INTERVAL_MILLIS,
Settings.Secure.LOCATION_ACCESS_CHECK_DELAY_MILLIS,