Skip to content

Commit ec0a7de

Browse files
committed
Removed restriction to Owncloud app
1 parent 3c462ca commit ec0a7de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • owncloudApp/src/main/java/com/owncloud/android/extensions

owncloudApp/src/main/java/com/owncloud/android/extensions/ActivityExt.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ fun Activity.openFileWithIntent(intentForSavedMimeType: Intent, intentForGuessed
242242
fun AppCompatActivity.sendFile(file: File?) {
243243
if (file != null) {
244244
val sendIntent: Intent = makeIntent(file, this)
245-
// Show dialog, without the own app
246-
val packagesToExclude = arrayOf<String>(this.packageName)
245+
246+
val packagesToExclude = arrayOf<String>()
247247
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
248248
val shareSheetIntent = ShareSheetHelper().getShareSheetIntent(
249249
sendIntent,

0 commit comments

Comments
 (0)