Language

SystemUpdatePolicyErrorCode Enum

Definition

public enum SystemUpdatePolicyErrorCode
type SystemUpdatePolicyErrorCode = 
Inheritance
SystemUpdatePolicyErrorCode

Fields

Name Value Description
Unknown 1

Validation failed with unknown error.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

DuplicateOrOverlap 2

The freeze periods contains duplicates, periods that overlap with each other or periods whose start and end joins.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_DUPLICATE_OR_OVERLAP.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NewFreezePeriodTooLong 3

There exists at least one freeze period whose length exceeds 90 days.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_NEW_FREEZE_PERIOD_TOO_LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

NewFreezePeriodTooClose 4

There exists some freeze period which starts within 60 days of the preceding period's end time.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_NEW_FREEZE_PERIOD_TOO_CLOSE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

CombinedFreezePeriodTooLong 5

The device has been in a freeze period and when combining with the new freeze period to be set, it will result in the total freeze period being longer than 90 days.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_COMBINED_FREEZE_PERIOD_TOO_LONG.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

CombinedFreezePeriodTooClose 6

The device has been in a freeze period and some new freeze period to be set is less than 60 days from the end of the last freeze period the device went through.

Android reference for android.app.admin.SystemUpdatePolicy.ValidationFailedException.ERROR_COMBINED_FREEZE_PERIOD_TOO_CLOSE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to