Fix echo cancellation preference
This commit is contained in:
parent
d6a570644b
commit
41014b153a
2 changed files with 0 additions and 9 deletions
|
@ -59,12 +59,6 @@ public class EchoCancellerCalibrationFragment extends Fragment {
|
|||
@Override
|
||||
public void ecCalibrationStatus(LinphoneCore lc,LinphoneCore.EcCalibratorStatus status, int delay_ms, Object data) {
|
||||
LinphoneManager.getInstance().routeAudioToReceiver();
|
||||
|
||||
if (status == EcCalibratorStatus.DoneNoEcho) {
|
||||
LinphonePreferences.instance().setEchoCancellation(false);
|
||||
} else if ((status == EcCalibratorStatus.Done) || (status == EcCalibratorStatus.Failed)) {
|
||||
LinphonePreferences.instance().setEchoCancellation(true);
|
||||
}
|
||||
if (mSendEcCalibrationResult) {
|
||||
sendEcCalibrationResult(status, delay_ms);
|
||||
} else {
|
||||
|
|
|
@ -222,9 +222,6 @@ public class SetupActivity extends FragmentActivity implements OnClickListener {
|
|||
next.setEnabled(false);
|
||||
cancel.setEnabled(false);
|
||||
} else {
|
||||
if (mPrefs.isFirstLaunch()) {
|
||||
mPrefs.setEchoCancellation(LinphoneManager.getLc().needsEchoCanceler());
|
||||
}
|
||||
success();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue