diff options
author | Lucas Lin <lucaslin@google.com> | 2021-06-16 04:00:13 +0000 |
---|---|---|
committer | Lucas Lin <lucaslin@google.com> | 2021-06-17 11:13:57 +0000 |
commit | f0b957007e94b67962da5b20dfbd3627d16aadde (patch) | |
tree | 0148475febd60065f1f0fff98ffed0061bf13210 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 6f5fe9271dda0c41e16525a93bcb752c14778ea4 (diff) |
Set legacy type for VPN
VPN legacy type was lost when NetworkInfo was replaced by
NetworkAgentConfig.
Set legacy type when creating NetworkAgentConfig to fix it.
Original NetworkInfo log:
NI = [type: [], state: CONNECTED/CONNECTED, reason: (unspecified), extra: , failover: false, available: true, roaming: false], Type = -1
Current NetworkInfo log:
NI = [type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: , failover: false, available: true, roaming: false], Type = 17
Bug: 184261389
Test: atest CtsHostsideNetworkTests:HostsideVpnTests#testDefault
Original-Change: https://android-review.googlesource.com/1733495
Merged-In: I237f7ff4d6899530c4ad057a84d3b8b34513be79
Change-Id: I237f7ff4d6899530c4ad057a84d3b8b34513be79
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions