Add text when no echo is detected during echo cancellation calibration.

This commit is contained in:
Ghislain MARY 2012-10-16 13:09:22 +02:00
parent 0832c6659c
commit 16e5cf9690
3 changed files with 4 additions and 1 deletions

View file

@ -167,6 +167,7 @@
<string name="pref_ice_enable_summary">Un serveur STUN doit être configuré pour utiliser ICE</string>
<string name="ec_calibrating">Calibration&#8230;</string>
<string name="ec_calibrated">Calibré [%s ms]</string>
<string name="no_echo">Pas d\'écho</string>
<string name="failed">échoué</string>
<string name="first_login_explanation">Entrez votre nom d\'utilisateur et votre mot de passe pour vous connecter au service.</string>
<string name="first_login_username">Nom d\'utilisateur</string>

View file

@ -214,7 +214,7 @@
<string name="pref_ice_enable_summary">A STUN server must be configured to use ICE</string>
<string name="ec_calibrating">Calibrating&#8230;</string>
<string name="ec_calibrated">Calibrated [%s ms]</string>
<string name="failed">failed</string>
<string name="no_echo">No echo</string><string name="failed">failed</string>
<string name="first_login_explanation">Enter your username and password to connect to the service.</string>
<string name="first_login_username">Username</string>
<string name="first_login_password">Password</string>
@ -386,4 +386,5 @@
<string name="linphone_friend_new_request_title">Friend request</string>
<string name="linphone_friend_new_request_desc">wants to share it\'s presence status with you and be aware of yours.</string>
</resources>

View file

@ -288,6 +288,7 @@ public class PreferencesFragment extends PreferencesListFragment implements EcCa
mHandler.post(new Runnable() {
public void run() {
if (status == EcCalibratorStatus.DoneNoEcho) {
ecCalibratePref.setSummary(R.string.no_echo);
ecPref.setChecked(false);
} else if (status == EcCalibratorStatus.Done) {
ecCalibratePref.setSummary(String.format(getString(R.string.ec_calibrated), delayMs));