do not clip data at sharing file paths
This commit is contained in:
parent
e3f61790cb
commit
d2a6cae35b
1 changed files with 0 additions and 1 deletions
|
@ -208,7 +208,6 @@ fun Activity.sharePathIntent(path: String, applicationId: String) {
|
||||||
Intent().apply {
|
Intent().apply {
|
||||||
action = Intent.ACTION_SEND
|
action = Intent.ACTION_SEND
|
||||||
putExtra(EXTRA_STREAM, newUri)
|
putExtra(EXTRA_STREAM, newUri)
|
||||||
clipData = ClipData.newRawUri(null, newUri)
|
|
||||||
type = getUriMimeType(path, newUri)
|
type = getUriMimeType(path, newUri)
|
||||||
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|
addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue