Add Display error message when an error occured during the file transfert

This commit is contained in:
Erwan Croze 2017-02-01 10:15:43 +01:00
parent 6924066b05
commit 1b07a2ae89
2 changed files with 2 additions and 1 deletions

View file

@ -186,6 +186,7 @@
<string name="image_saved">Image saved</string>
<string name="image_not_saved">Error, image not saved</string>
<string name="wait">Please wait...</string>
<string name="image_transfert_error">An error occurred during the file transfer</string>
<string name="lime_not_verified">You are trying to send a message using LIME to a contact not verified by ZRTP.\nPlease call this contact and verify his ZRTP key before sending your messages.</string>
<string name="processing_image">Processing image, can take up to a few seconds depending on the size of the file</string>

View file

@ -387,7 +387,7 @@ public class LinphoneManager implements LinphoneCoreListener, LinphoneChatMessag
}
if (state == LinphoneChatMessage.State.FileTransferError) {
//TODO
LinphoneUtils.displayErrorAlert(getString(R.string.image_transfert_error), LinphoneActivity.instance());
}
for (LinphoneChatMessage.LinphoneChatMessageListener l: simpleListeners) {