Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf1ce84f authored by Paul Hu's avatar Paul Hu
Browse files

Reset VpnConnectivityMetrics on VPN disconnect

Upon VPN disconnection, the associated NetworkAgent becomes
unregistered. To ensure that metrics collected for subsequent
VPN connections are accurate and not influenced by prior data,
the VpnConnectivityMetrics state should be reset at this point.

Bug: 306313287
Test: atest FrameworksVpnTests
Flag: android.net.platform.flags.collect_vpn_metrics
Change-Id: I95c190dc34b8b00aa46562b4cdd8dbffb8d2c961
parent 3df7f596
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment