Display a toast in case of call error

This commit is contained in:
Gautier Pelloux-Prayer 2014-12-18 10:47:22 +01:00
parent 5222631b0b
commit 63198bc591

View file

@ -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) {