commit | 395c0909ddff57cb90274ab3eb45e9980ea4a6dc | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Wed Aug 24 14:55:53 2022 +0800 |
committer | Lucas Lin <lucaslin@google.com> | Thu Aug 25 01:11:06 2022 +0000 |
tree | 7d858b93ca89566fa8f0d559343f7c1b79060890 | |
parent | 7545521543ff5beb32347c79f571f946255e2305 [diff] |
Have a method to stop VPN and send event to VPN app Have a method to stop VPN and send CATEGORY_EVENT_DEACTIVATED_BY_USER event to VPN app. Both of prepareInternal() and stopVpnProfile() have the same behavior, so have a method for them to reduce the duplicate. Bug: 236409954 Test: atest FrameworksNetTests:VpnTest Change-Id: I54b550e6f972a13f61cbcf15ee1fb9fe3c313d7b