Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //MyVpnService class
- @Override
- public void onDestroy() {
- Log.i(TAG, "Destroyed.");
- stopVpn();
- //what is the purpose of this line for my goals?
- lifecycle.handleLifecycleEvent(Lifecycle.Event.ON_DESTROY);
- }
Add Comment
Please, Sign In to add comment