summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2020-01-24 21:15:20 -0800
committerBenedict Wong <benedictwong@google.com>2020-02-14 00:09:48 -0800
commitdf50bb850ea0cadfe9244c5fcc2f2f139d5cdb25 (patch)
tree8947f8e2a39f72a5df459ba7a9219cfa1fc85f36 /tools/aapt2/java/JavaClassGenerator.cpp
parent5d50ce8181a947ffbdd0322d20e2d440a65989f6 (diff)
Ensure all VPN runners clean up state when exiting
This CL tweaks the cleanup flow to ensure that VPN runners exit properly and clean up state. Previously, if a VPN exited before an interface was created and the Interface Observer started watching the virtual interface, some state (eg mConfig) might not get cleaned up. Also as a result of this change, the LegacyVpn no longer implicitly relies on the NetworkManagementEventObserver's watching for interface removed to cleanup mConfig, mStatusIntent, mNetworkCapabilities, and the VPN runner itself, but rather clears the state immediately. Bug: 144246767 Test: FrameworksNetTests passing Change-Id: Ide9daebca9a3fba025e7da5e3fe1d20d7bfdca02
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions