Skip to content
Commit efb7d713 authored by lucaslin's avatar lucaslin Committed by Cherrypicker Worker
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
(cherry picked from commit 395c0909)
Merged-In: I54b550e6f972a13f61cbcf15ee1fb9fe3c313d7b
parent d0208d92
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