Example: Remove VPN Configuration
Focus
Focus
GlobalProtect

Example: Remove VPN Configuration

Table of Contents

Example: Remove VPN Configuration

Bundle config = new Bundle(); config.putBoolean(RESTRICTION_REMOVE_CONFIG, true ); DevicePolicyManager dpm = (DevicePolicyManager) getSystemService(Context.DEVICE_POLICY_SERVICE); dpm.setApplicationRestrictions(EnforcerDeviceAdminReceiver. getComponentName(this),"com.paloaltonetworks.globalprotect", config);

Recommended For You