diff options
| author | 2023-11-14 20:47:29 +0800 | |
|---|---|---|
| committer | 2023-11-15 16:23:43 +0800 | |
| commit | c8dbc5afd91d877a293e667a017554e6f8c6681e (patch) | |
| tree | b11a96328d23f50fc3d09a81d8c01992a7c059b1 /api/coverage/tools | |
| parent | ecf90eb72ee6c1b9db5a0fd564d102ebc4802235 (diff) | |
Clone the VpnProfile in startLegacyVpnPrivileged()
The profile is modified within startLegacyVpnPrivileged(), e.g.
ipsecCaCert, ipsecUserCert. This causes subsequent calls from
callers such as LockdownVpnTracker to fail.
Make VpnProfile.clone() public and clone the VpnProfile before
modifiying it.
Bug: 190572822
Bug: 309591931
Test: New test in VpnTest
Test: Manual test always-on VPNs
Change-Id: I2a8dd03ef7da9b950df54ba993a527eb15272281
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions