Add MANAGED_PROVISIONING_DPC_DOWNLOADED.
Test: Just adding a constant Bug: 132261064 Change-Id: I2bce277ff8f2de4614e19d5385fe6712b076f9c9
This commit is contained in:
@@ -5958,6 +5958,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>
|
||||
|
||||
@@ -721,7 +721,8 @@ public class SettingsBackupTest {
|
||||
Settings.Secure.BIOMETRIC_DEBUG_ENABLED,
|
||||
Settings.Secure.FACE_UNLOCK_ATTENTION_REQUIRED,
|
||||
Settings.Secure.FACE_UNLOCK_DIVERSITY_REQUIRED,
|
||||
Settings.Secure.FACE_UNLOCK_EDUCATION_INFO_DISPLAYED);
|
||||
Settings.Secure.FACE_UNLOCK_EDUCATION_INFO_DISPLAYED,
|
||||
Settings.Secure.MANAGED_PROVISIONING_DPC_DOWNLOADED);
|
||||
|
||||
@Test
|
||||
public void systemSettingsBackedUpOrBlacklisted() {
|
||||
|
||||
Reference in New Issue
Block a user