refresh new proxy config
This commit is contained in:
parent
e1bdf48d20
commit
ab79d2fa19
2 changed files with 4 additions and 3 deletions
|
@ -381,8 +381,9 @@ public class SetupActivity extends FragmentActivity implements OnClickListener {
|
||||||
back.setVisibility(View.GONE);
|
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();
|
Toast.makeText(this, getString(R.string.setup_account_validated), Toast.LENGTH_LONG).show();
|
||||||
|
LinphoneManager.getLcIfManagerNotDestroyedOrNull().refreshRegisters();
|
||||||
launchEchoCancellerCalibration(true);
|
launchEchoCancellerCalibration(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class WizardConfirmFragment extends Fragment {
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void isAccountVerified(String username) {
|
private void isAccountVerified(final String username) {
|
||||||
final Runnable runNotReachable = new Runnable() {
|
final Runnable runNotReachable = new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
Toast.makeText(getActivity(), getString(R.string.wizard_server_unavailable), Toast.LENGTH_LONG).show();
|
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() {
|
Runnable runOk = new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
SetupActivity.instance().isAccountVerified();
|
SetupActivity.instance().isAccountVerified(username);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue