Improve error log during file sharing
This commit is contained in:
parent
b8dc62cb3c
commit
d983879235
2 changed files with 2 additions and 2 deletions
|
@ -613,7 +613,7 @@ public final class LinphoneUtils {
|
|||
|
||||
remoteFile.close();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
Log.e("Enable to get sharing file", e);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
|
|
@ -135,7 +135,7 @@ public class LinphoneLauncherActivity extends Activity {
|
|||
if(("text/plain").equals(type) && (String)intent.getStringExtra(Intent.EXTRA_TEXT)!= null) {
|
||||
stringFileShared = intent.getStringExtra(Intent.EXTRA_TEXT);
|
||||
newIntent.putExtra("msgShared", stringFileShared);
|
||||
}else {
|
||||
} else {
|
||||
fileUri = (Uri) intent.getParcelableExtra(Intent.EXTRA_STREAM);
|
||||
stringUriFileShared = LinphoneUtils.getFilePath(getBaseContext(), fileUri);
|
||||
newIntent.putExtra("fileShared", stringUriFileShared);
|
||||
|
|
Loading…
Reference in a new issue