do not clip data at sharing file paths

This commit is contained in:
tibbi 2021-05-12 08:32:01 +02:00
parent e3f61790cb
commit d2a6cae35b

View file

@ -208,7 +208,6 @@ fun Activity.sharePathIntent(path: String, applicationId: String) {
Intent().apply {
action = Intent.ACTION_SEND
putExtra(EXTRA_STREAM, newUri)
clipData = ClipData.newRawUri(null, newUri)
type = getUriMimeType(path, newUri)
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)