commit | d759ac61ee35a5d30a47565e17093440e8c50eb8 | [log] [tgz] |
---|---|---|
author | Cody Kesting <ckesting@google.com> | Tue Feb 11 14:16:41 2020 -0800 |
committer | Cody Kesting <ckesting@google.com> | Mon Mar 16 11:05:13 2020 -0700 |
tree | fb08440b89c72acf22977570fa0e2f00b5d96ea4 | |
parent | 0b6dd36a5219847941b04efd0dd86508f182a35f [diff] |
Restrict VPN Diagnostics callbacks to underlying networks. ConnectivityDiagnosticsCallbacks should only be invoked for the underlying networks declared by active VPNs. This encourages VPN apps to declare their underlying networks. The previous permission model for VPNs allowed active VPNs to receive callbacks on any network. Bug: 148903617 Test: atest FrameworksNetTests Change-Id: Ic08cdd2e2532580fda0fd3034e2bdff27e0ff84b