diff options
author | Parménides GV <parmegv@sdf.org> | 2013-12-03 18:55:09 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-12-03 18:55:09 +0100 |
commit | a3f9c9e1c0e79c18648d896d4f45d448ec4ef285 (patch) | |
tree | 6613ca0fa793ebdb6782a2d4aba756430b9b7e90 /src/se/leap/bitmaskclient | |
parent | cd0433f7448307ac9067d4f112bc074f643b4698 (diff) |
Login triggered if requested after provider switch
Request code for switching provider was not being considered in onActivityResult.
Diffstat (limited to 'src/se/leap/bitmaskclient')
-rw-r--r-- | src/se/leap/bitmaskclient/Dashboard.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/se/leap/bitmaskclient/Dashboard.java b/src/se/leap/bitmaskclient/Dashboard.java index 103310bb..4db53753 100644 --- a/src/se/leap/bitmaskclient/Dashboard.java +++ b/src/se/leap/bitmaskclient/Dashboard.java @@ -115,7 +115,7 @@ public class Dashboard extends Activity implements LogInDialog.LogInDialogInterf @Override protected void onActivityResult(int requestCode, int resultCode, Intent data){ - if ( requestCode == CONFIGURE_LEAP ) { + if ( requestCode == CONFIGURE_LEAP || requestCode == SWITCH_PROVIDER) { if ( resultCode == RESULT_OK ){ ConfigHelper.saveSharedPref(EIP.AUTHED_EIP, authed_eip); startService( new Intent(EIP.ACTION_UPDATE_EIP_SERVICE) ); |