refresh new proxy config

This commit is contained in:
Margaux Clerc 2015-04-30 16:35:47 +02:00
parent e1bdf48d20
commit ab79d2fa19
2 changed files with 4 additions and 3 deletions

View file

@ -381,8 +381,9 @@ public class SetupActivity extends FragmentActivity implements OnClickListener {
back.setVisibility(View.GONE);
}
public void isAccountVerified() {
public void isAccountVerified(String username) {
Toast.makeText(this, getString(R.string.setup_account_validated), Toast.LENGTH_LONG).show();
LinphoneManager.getLcIfManagerNotDestroyedOrNull().refreshRegisters();
launchEchoCancellerCalibration(true);
}

View file

@ -59,7 +59,7 @@ public class WizardConfirmFragment extends Fragment {
return view;
}
private void isAccountVerified(String username) {
private void isAccountVerified(final String username) {
final Runnable runNotReachable = new Runnable() {
public void run() {
Toast.makeText(getActivity(), getString(R.string.wizard_server_unavailable), Toast.LENGTH_LONG).show();
@ -78,7 +78,7 @@ public class WizardConfirmFragment extends Fragment {
Runnable runOk = new Runnable() {
public void run() {
SetupActivity.instance().isAccountVerified();
SetupActivity.instance().isAccountVerified(username);
}
};