diff options
author | cyBerta <cyberta@riseup.net> | 2023-10-24 22:02:29 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2023-10-24 22:02:29 +0200 |
commit | 6d7a966b39a8a1208d67981e726c63d02efd4f4a (patch) | |
tree | 4a05f95ea9d192749b6a8c4f7207de3e74fbaa67 /app/src/main/java/se/leap/bitmaskclient/base | |
parent | f64576feee47a783a3058ac181e8460fb19a30ce (diff) |
use new provider setup flow for custom branded apps
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/base')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/base/StartActivity.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/StartActivity.java b/app/src/main/java/se/leap/bitmaskclient/base/StartActivity.java index 8372b6ad..19f03dee 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/StartActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/StartActivity.java @@ -247,13 +247,9 @@ public class StartActivity extends Activity{ if (getIntent().hasExtra(APP_ACTION_CONFIGURE_ALWAYS_ON_PROFILE)) { getIntent().removeExtra(APP_ACTION_CONFIGURE_ALWAYS_ON_PROFILE); } - if (isDefaultBitmask()) { - Intent intent = new Intent(this, SetupActivity.class); - intent.putExtra(SetupActivity.EXTRA_SWITCH_PROVIDER, false); - startActivityForResult(intent, REQUEST_CODE_CONFIGURE_LEAP); - } else { // custom branded app - startActivityForResult(new Intent(this, CustomProviderSetupActivity.class), REQUEST_CODE_CONFIGURE_LEAP); - } + Intent intent = new Intent(this, SetupActivity.class); + intent.putExtra(SetupActivity.EXTRA_SWITCH_PROVIDER, false); + startActivityForResult(intent, REQUEST_CODE_CONFIGURE_LEAP); } @Override |