Commits

Fyodor Kupolov authored 49d5a01e9b8
Check VPN status when adding/removing restricted profiles Restricted profiles are tied to a VPN of the parent user. addVpnUserLocked/ removeVpnUserLocked should not be called for restricted profiles when VPN is not active, because they will throw an exception. Bug: 27296721 Change-Id: Ifcfaa85c12fbca1bbad81217c2f0d07a79347547