Skip to content
Commit 395c0909 authored by lucaslin's avatar lucaslin Committed by Lucas Lin
Browse files

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
parent 75455215
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment