From e60c6dff1c9215046589f71bc15ee40801e5ce4d Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 19 Feb 2013 17:52:00 +0100 Subject: [PATCH] echo calibration is now optional (not required for already calibrated models). change a few default settings. --- res/values/non_localizable_defaults.xml | 10 +++++----- src/org/linphone/setup/SetupActivity.java | 2 +- submodules/linphone | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/res/values/non_localizable_defaults.xml b/res/values/non_localizable_defaults.xml index 5af444e96..1b5bd2618 100644 --- a/res/values/non_localizable_defaults.xml +++ b/res/values/non_localizable_defaults.xml @@ -5,18 +5,18 @@ 443 @string/tunnel_mode_entry_value_disabled - false + true true true true - true + false true - true + false true - true + false false - false + true true true diff --git a/src/org/linphone/setup/SetupActivity.java b/src/org/linphone/setup/SetupActivity.java index 994a4e282..286d99459 100644 --- a/src/org/linphone/setup/SetupActivity.java +++ b/src/org/linphone/setup/SetupActivity.java @@ -139,7 +139,7 @@ public class SetupActivity extends FragmentActivity implements OnClickListener { } private void launchEchoCancellerCalibration(boolean sendEcCalibrationResult) { - if (!Hacks.hasBuiltInEchoCanceller() && !mPref.getBoolean(getString(R.string.first_launch_suceeded_once_key), false)) { + if (LinphoneManager.getLc().needsEchoCalibration() && !mPref.getBoolean(getString(R.string.first_launch_suceeded_once_key), false)) { EchoCancellerCalibrationFragment fragment = new EchoCancellerCalibrationFragment(); fragment.enableEcCalibrationResultSending(sendEcCalibrationResult); changeFragment(fragment); diff --git a/submodules/linphone b/submodules/linphone index 04fef5fcc..87906bd74 160000 --- a/submodules/linphone +++ b/submodules/linphone @@ -1 +1 @@ -Subproject commit 04fef5fcca637a601025b01a62843f1423ff0d96 +Subproject commit 87906bd74c139512c633f31c0b9aa114baa717ec