commit | 9a1da68bf7980449a5ee5d6fa9d9686b04d667ff | [log] [tgz] |
---|---|---|
author | Jeff Davidson <jpd@google.com> | Tue Nov 11 13:52:58 2014 -0800 |
committer | Jeff Davidson <jpd@google.com> | Mon Nov 17 21:03:10 2014 +0000 |
tree | 242187623929c19e9240d2b4374a0826f42c7cfc | |
parent | e0cb56b02eb2bb52a537b32c5d3f5360b9718c8a [diff] |
Expose a SystemApi method to prepare a VPN without consent. This is NOT designed to be called normally. Most apps (even system-privileged ones) should request user consent before launching a VPN. However, it is needed to support flows where consent can be obtained through other means external to the VPN flow itself. The API requires a system-privileged permission, CONTROL_VPN. Bug: 18327583 Change-Id: I1bcdcf0fb5707faeb861ec4535e7ccffea369ae7