diff options
author | cyBerta <cyberta@riseup.net> | 2018-02-16 12:45:37 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2018-02-16 12:45:37 +0100 |
commit | 5564c4e5801529f846fa88e9258859f6aac4da1d (patch) | |
tree | cacf7f93d72ff3e4d796c04a1019bd23e413b2e2 /app/src/main/java/se | |
parent | 69d79a7002df96f2d69a83fd19c69b3bdb19c829 (diff) |
#8852 code review changes
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/StartActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/StartActivity.java b/app/src/main/java/se/leap/bitmaskclient/StartActivity.java index ee1e2a69..39717bd8 100644 --- a/app/src/main/java/se/leap/bitmaskclient/StartActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/StartActivity.java @@ -164,7 +164,7 @@ public class StartActivity extends Activity { } else { Log.d(TAG, "vpn provider is configured"); if (getIntent() != null && getIntent().getBooleanExtra(EIP_RESTART_ON_BOOT, false)) { - EipCommand.startVPN(getApplicationContext(), true); + EipCommand.startVPN(this, true); finish(); return; } @@ -192,7 +192,7 @@ public class StartActivity extends Activity { if (resultCode == RESULT_OK && data.hasExtra(Provider.KEY)) { Provider provider = data.getParcelableExtra(Provider.KEY); ConfigHelper.storeProviderInPreferences(preferences, provider); - EipCommand.startVPN(this.getApplicationContext(), false); + EipCommand.startVPN(this, false); showMainActivity(); } else if (resultCode == RESULT_CANCELED) { finish(); |