Example: Remove VPN Configuration
Focus
Focus
GlobalProtect

Example: Remove VPN Configuration

Table of Contents
End-of-Life (EoL)

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);