summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFup Duck <fupduck@sacknagel.com>2018-01-25 14:08:08 +0100
committerFup Duck <fupduck@sacknagel.com>2018-01-25 14:08:08 +0100
commit1a25b1dea9ab2d7e76cd79e8928d27f855ca9f2a (patch)
treeb9416084669d87acd4bbaf8250819648df855d57
parentca1390e5f4af3100d962dec252afdfb11e148ea1 (diff)
custom provider for insecure
-rw-r--r--app/build.gradle2
-rw-r--r--app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index bf3f53a7..b28d9f35 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,7 +5,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 26
- buildToolsVersion '26.0.2'
+ buildToolsVersion '26.0.0'
defaultConfig {
applicationId "se.leap.bitmaskclient"
diff --git a/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java b/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
index 3e176fc1..6481c9f5 100644
--- a/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
+++ b/app/src/insecure/java/se/leap/bitmaskclient/ConfigurationWizard.java
@@ -75,7 +75,7 @@ public class ConfigurationWizard extends BaseConfigurationWizard {
private void autoSelectProvider(Provider provider, boolean danger_on) {
preferences.edit().putBoolean(ProviderItem.DANGER_ON, danger_on).apply();
- provider = provider;
+ this.provider = provider;
onItemSelectedLogic();
showProgressBar();
}
@@ -117,7 +117,6 @@ public class ConfigurationWizard extends BaseConfigurationWizard {
addAndSelectNewProvider(ProviderAPI.lastProviderMainUrl(), ProviderAPI.lastDangerOn());
} else {
showProgressBar();
- adapter.hideAllBut(adapter.indexOf(provider));
Intent providerAPICommand = new Intent(this, ProviderAPI.class);