diff --git a/res/layout/conf_choices_dialog.xml b/res/layout/conf_choices_dialog.xml
index 0fa51dc93..bce46ca5a 100644
--- a/res/layout/conf_choices_dialog.xml
+++ b/res/layout/conf_choices_dialog.xml
@@ -10,11 +10,11 @@
-
-
-
diff --git a/res/values/strings.xml b/res/values/strings.xml
index f8b12ca23..d9edcfd4e 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3,7 +3,9 @@
Not ready for a new call
Bad contact : %s
- Encrypted %s
+ Reset validated %s
+ Validate %s
+ Encrypted
Not encrypted
Starting up...
diff --git a/src/org/linphone/IncallActivity.java b/src/org/linphone/IncallActivity.java
index 437682923..53c07f6d4 100644
--- a/src/org/linphone/IncallActivity.java
+++ b/src/org/linphone/IncallActivity.java
@@ -696,16 +696,16 @@ public class IncallActivity extends ListActivity implements
setVisibility(content, R.id.unencrypted, showUnencrypted);
} else {
TextView token = (TextView) content.findViewById(R.id.authentication_token);
- String fmt = getString(R.string.authenticationTokenFormat);
if ("zrtp".equals(mediaEncryption)) {
- token.setText(String.format(fmt, call.getAuthenticationToken()));
boolean authVerified = call.isAuthenticationTokenVerified();
+ String fmt = getString(authVerified ? R.string.reset_sas_fmt : R.string.validate_sas_fmt);
+ token.setText(String.format(fmt, call.getAuthenticationToken()));
enableView(content, R.id.set_auth_token_not_verified, l, authVerified);
enableView(content, R.id.set_auth_token_verified, l, !authVerified);
enableView(content, R.id.encrypted, l, true);
} else {
setVisibility(content, R.id.encrypted, true);
- token.setText(String.format(fmt, ""));
+ token.setText(R.string.communication_encrypted);
}
}