Back to top

Admin application is no longer enforcing device policies

Environment

Knox SDK

Overview

You may encounter an issue where your admin application initially enforces a device policy, but the policy is either changed or does not persist.

Cause

Another admin application is removing or replacing the policies applied by your application. For example, you might disable firmware updates in your application, but a different admin application with firmware updates enabled can overwrite the policy you set.

Resolution

If you want to ensure the policies you set are not changed by another admin application, you need to disable the activation of other admin applications on the device. To do this, use the ApplicationPolicy.preventNewAdminActivation(boolean) API.

Back to KBAs

Is this page helpful?