Display a toast in case of call error
This commit is contained in:
parent
5222631b0b
commit
63198bc591
1 changed files with 5 additions and 0 deletions
|
@ -848,6 +848,11 @@ public class LinphoneManager implements LinphoneListener {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Give user some hint about the error...
|
||||
if (state == State.Error) {
|
||||
LinphoneActivity.instance().displayCustomToast("Call errored: " + message, Toast.LENGTH_LONG);
|
||||
}
|
||||
}
|
||||
|
||||
if (state == State.CallEnd) {
|
||||
|
|
Loading…
Reference in a new issue