mushahidgillani

Results 3 comments of mushahidgillani

There is no option dpm remove-active-admin in documentation.

You can unset it programmatically. You need to call this function in your application DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); dpm.clearDeviceOwnerApp(context.getPackageName());

what android api level you are working on ?