Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: enable auto-connect feature, always-on #97

Merged
merged 4 commits into from
May 17, 2018
Merged

Conversation

alalamav
Copy link
Contributor

  • Adds support for Always On VPN.
  • Enables the auto-connect feature: automatically connects the VPN, unconditionally if the user has enabled Always On, or if the VPN was connected at shutdown. The latter behavior targets Lollipop and Marshmallow users, as Always On was introduced in Nougat.
  • Does not perform connectivity checks when connecting at startup to avoid networking errors if the network is not ready.
  • Persists the connection status to support both Always On and auto-connect - part of this code was already merged but not enabled.

@alalamav alalamav self-assigned this May 11, 2018
@alalamav alalamav requested a review from trevj May 11, 2018 22:20
@alalamav alalamav merged commit 22c67e7 into master May 17, 2018
@alalamav alalamav deleted the alalama-always-on branch May 17, 2018 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants