mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
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 {
|
||||
builder.setEnabled(false); //We'll enable it after the echo calibration
|
||||
builder.saveNewAccount();
|
||||
accountCreated = true;
|
||||
} catch (LinphoneCoreException e) {
|
||||
|
|
@ -369,6 +370,7 @@ public class SetupActivity extends FragmentActivity implements OnClickListener,
|
|||
}
|
||||
|
||||
public void isEchoCalibrationFinished() {
|
||||
mPrefs.setAccountEnabled(0, true);
|
||||
success();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue