commit | a21f7a1ac6c7ee9aab2a3d4e13ab21f8bb0c5dc9 | [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 | 893f97d1eb8748d8099139bac3ce45462c9572a5 | |
parent | 2207207a7f2dfe59f485c626cbacadecd57db784 [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