commit | 8974a1c43a32c864e356c8db19a7b1a6fca7292f | [log] [tgz] |
---|---|---|
author | Benedict Wong <benedictwong@google.com> | Mon Jan 20 22:14:59 2020 -0800 |
committer | Benedict Wong <benedictwong@google.com> | Fri Feb 14 00:09:47 2020 -0800 |
tree | 1dc116b01b965b0d5c16f6df12ae7a8a64c979fe | |
parent | 7fbddc35ba4660644595888b4e2095c937c7b5c7 [diff] |
Enforce restricted user, getConnectionOwnerUid checks This CL adds checks to ensure restricted users cannot change or start/stop platform VPNs. In addition, this also adds checks to the ConnectivityManager#getConnectionOwnerUid() to ensure that only VpnService based VPNs can identify connections Bug: 148040659 Test: FrameworksNetTests run Change-Id: Id47ada5766036bfc84f3ba47f66f2d2683af916d