diff options
| author | lifr <lifr@google.com> | 2021-03-25 01:06:45 +0800 |
|---|---|---|
| committer | lifr <lifr@google.com> | 2021-04-01 15:51:44 +0800 |
| commit | 877fd475f5b619fbfc273032fd8146e33f4000d0 (patch) | |
| tree | cc8c7c6dbbde2e0cda5f184a6f706e0b41eceeb3 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| parent | a7542972b1c28fc7e61095d57be99c1d30c92da4 (diff) | |
Add session ID to VpnTransportInfo
- This will be visible only to apps with the NETWORK_SETTINGS
permissions (signature), and will be redacted for all other callers.
- This string is expected to be the same as set by
VpnService#setSession, and in general, VpnConfig.session. But it
will be a general API that Vpn.java can call when setting the
VpnTransportInfo.
- This string cannot be updated once the VPN NetworkAgent is connected.
Bug: 171872481
Ignore-AOSP-First: needed to prevent automerger race breaking build
Test: atest ConnectivityServiceTest
atest VpnTransportInfoTest
atest NetworkAgentTest
Change-Id: I883035262465238c35c5a931d89707f3e84feef8
Merged-In: I883035262465238c35c5a931d89707f3e84feef8
(cherry-picked from ag/14008230)
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
