From b1a8d24e7f485bdc94fda2137863ededaabe0679 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 11 Dec 2014 17:39:35 +0100 Subject: [PATCH] Only enable account after echo cancelation calibration to prevent message sound notification to interfere with calibration --- src/org/linphone/setup/SetupActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/linphone/setup/SetupActivity.java b/src/org/linphone/setup/SetupActivity.java index 62c57924b..46f056ae3 100644 --- a/src/org/linphone/setup/SetupActivity.java +++ b/src/org/linphone/setup/SetupActivity.java @@ -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(); }