Only enable account after echo cancelation calibration to prevent message sound notification to interfere with calibration
This commit is contained in:
parent
60255aa415
commit
b1a8d24e7f
1 changed files with 2 additions and 0 deletions
|
@ -341,6 +341,7 @@ public class SetupActivity extends FragmentActivity implements OnClickListener,
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
builder.setEnabled(false); //We'll enable it after the echo calibration
|
||||||
builder.saveNewAccount();
|
builder.saveNewAccount();
|
||||||
accountCreated = true;
|
accountCreated = true;
|
||||||
} catch (LinphoneCoreException e) {
|
} catch (LinphoneCoreException e) {
|
||||||
|
@ -369,6 +370,7 @@ public class SetupActivity extends FragmentActivity implements OnClickListener,
|
||||||
}
|
}
|
||||||
|
|
||||||
public void isEchoCalibrationFinished() {
|
public void isEchoCalibrationFinished() {
|
||||||
|
mPrefs.setAccountEnabled(0, true);
|
||||||
success();
|
success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue