Skip to content
Snippets Groups Projects
Commit 9320a608 authored by cyberta's avatar cyberta
Browse files

#8789 fixed javadoc and catched another IllegalStateException

parent b62e17ad
Branches
Tags
No related merge requests found
......@@ -368,9 +368,7 @@ public abstract class BaseConfigurationWizard extends Activity
}
/**
* Once selected a provider, this fragment offers the user to log in,
* use it anonymously (if possible)
* or cancel his/her election pressing the back button.
* Shows an error dialog, if configuring of a provider failed.
*
* @param reason_to_fail
*/
......
......@@ -349,8 +349,12 @@ public class Dashboard extends Activity implements ProviderAPIResultReceiver.Rec
}
public void sessionDialog(Bundle resultData) {
try {
FragmentTransaction transaction = fragment_manager.removePreviousFragment(SessionDialog.TAG);
SessionDialog.getInstance(provider, resultData).show(transaction, SessionDialog.TAG);
} catch (IllegalStateException e) {
e.printStackTrace();
}
}
private void switchProvider() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment