Fixed user not found message not showing
This commit is contained in:
parent
bcc330c36a
commit
22d1960ce2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue