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 f75d78e4e8
commit d112df1a7e

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