Fixed user not found message not showing

This commit is contained in:
Sylvain Berfini 2013-12-30 10:51:10 +01:00
parent bcc330c36a
commit 22d1960ce2

View file

@ -825,7 +825,7 @@ public class LinphoneActivity extends FragmentActivity implements
// Convert LinphoneCore message for internalization // Convert LinphoneCore message for internalization
if (message != null && message.equals("Call declined.")) { if (message != null && message.equals("Call declined.")) {
displayCustomToast(getString(R.string.error_call_declined), Toast.LENGTH_LONG); displayCustomToast(getString(R.string.error_call_declined), Toast.LENGTH_LONG);
} else if (message != null && message.equals("User not found.")) { } else if (message != null && message.equals("Not Found")) {
displayCustomToast(getString(R.string.error_user_not_found), Toast.LENGTH_LONG); displayCustomToast(getString(R.string.error_user_not_found), Toast.LENGTH_LONG);
} else if (message != null && message.equals("Incompatible media parameters.")) { } else if (message != null && message.equals("Incompatible media parameters.")) {
displayCustomToast(getString(R.string.error_incompatible_media), Toast.LENGTH_LONG); displayCustomToast(getString(R.string.error_incompatible_media), Toast.LENGTH_LONG);