Example usage for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_SKIP_ENCRYPTION

List of usage examples for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_SKIP_ENCRYPTION

Introduction

In this page you can find the example usage for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_SKIP_ENCRYPTION.

Prototype

String EXTRA_PROVISIONING_SKIP_ENCRYPTION

To view the source code for android.app.admin DevicePolicyManager EXTRA_PROVISIONING_SKIP_ENCRYPTION.

Click Source Link

Document

A boolean extra indicating whether device encryption can be skipped as part of device owner or managed profile provisioning.

Usage

From source file:com.afwsamples.testdpc.SetupManagementFragment.java

private void specifySkipEncryption(Intent intent) {
    if (mSkipEncryption.getVisibility() == View.VISIBLE) {
        intent.putExtra(DevicePolicyManager.EXTRA_PROVISIONING_SKIP_ENCRYPTION, mSkipEncryption.isChecked());
    }/*from   w  ww.java  2s.  co m*/
}