commit | a07cef10592c208f95277de8176b3289e3cc1159 | [log] [tgz] |
---|---|---|
author | chiachangwang <chiachangwang@google.com> | Wed Dec 07 10:44:35 2022 +0000 |
committer | chiachangwang <chiachangwang@google.com> | Tue Dec 13 10:15:49 2022 +0000 |
tree | a30c93668da3cbc56b17ee757d97f27284dd3929 | |
parent | b865214380d86d6001324fd003d63ccf0a11ece8 [diff] |
Add areLongLivedTcpConnectionsExpensive in VpnTransportInfo Add VpnTransportInfo.areLongLivedTcpConnectionsExpensive() in API surface to allow privileged apps to know whether the long-lived TCP connections should be expensive in the VPN network. This is expected to be used combined with getBypassable() because connections should always go through a VPN that is not bypassable. Bug: 259000745 Test: atest FrameworksNetTests Change-Id: Ic9bcdf43f252f22d12a1136902cc8bbf9cc731f5