mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-18 03:48:08 +00:00
Display a toast in case of call error
This commit is contained in:
parent
f75d78e4e8
commit
d112df1a7e
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…
Add table
Reference in a new issue