[FileSharing] update sharing images

This commit is contained in:
Brieuc Viel 2017-08-11 16:36:02 +02:00
parent 160e00b99c
commit 7c1a764c73

View file

@ -748,6 +748,11 @@ public class ChatFragment extends Fragment implements OnClickListener, LinphoneC
private void sendImageMessage(String path, int imageSize) {
Log.e("====>>> ChatFragment - sendImageMessage() : path = "+path+" - imageSize = "+imageSize);
if(path.contains("file://")) {
//path.replace("file://", "");
path = path.substring(7);
Log.e("===>>> path replaced = "+path);
}
LinphoneCore lc = LinphoneManager.getLcIfManagerNotDestroyedOrNull();
boolean isNetworkReachable = lc == null ? false : lc.isNetworkReachable();
Log.e("====>>> ChatFragment - sendImageMessage() : newChatConversation = "+ newChatConversation +" - chatRoom = "+chatRoom);