diff options
| author | 2021-06-11 03:08:01 +0800 | |
|---|---|---|
| committer | 2021-06-11 10:23:37 +0000 | |
| commit | d1de5bd3d9be0df187945c6ab9a27cde5b36d015 (patch) | |
| tree | 423ced6e1372af0016898cc60fe7e0a3cf8416db /libs/androidfw/AssetManager.cpp | |
| parent | 1c0577193b6060ecea4d516a732db12d1b99e297 (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
Change-Id: I237f7ff4d6899530c4ad057a84d3b8b34513be79
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions