commit | 49d5a01e9b8ee73e8d03ae8bf0560ee15ac97e56 | [log] [tgz] |
---|---|---|
author | Fyodor Kupolov <fkupolov@google.com> | Fri Mar 04 13:41:58 2016 -0800 |
committer | Fyodor Kupolov <fkupolov@google.com> | Fri Mar 04 13:41:58 2016 -0800 |
tree | 79e31d198a5914acbc64864c547cbc2e74025e84 | |
parent | c9f0a1103ea307e5e157e63e7915b38f83d27ca3 [diff] |
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