wip
authortobiasKaminsky <tobias@kaminsky.me>
Fri, 27 Nov 2015 17:03:46 +0000 (18:03 +0100)
committertobiasKaminsky <tobias@kaminsky.me>
Fri, 27 Nov 2015 17:03:46 +0000 (18:03 +0100)
src/com/owncloud/android/files/FileOperationsHelper.java

index 989b848..9cc70a7 100644 (file)
@@ -481,7 +481,7 @@ public class FileOperationsHelper {
 
             // Show dialog, without the own app
             String[] packagesToExclude = new String[] { mFileActivity.getPackageName() };
 
             // Show dialog, without the own app
             String[] packagesToExclude = new String[] { mFileActivity.getPackageName() };
-            DialogFragment chooserDialog = ShareLinkToDialog.newInstance(sendIntent, packagesToExclude, file);
+            DialogFragment chooserDialog = ShareLinkToDialog.newInstance(sendIntent, packagesToExclude);
             chooserDialog.show(mFileActivity.getSupportFragmentManager(), FTAG_CHOOSER_DIALOG);
         } else {
             Log_OC.wtf(TAG, "Trying to send a NULL OCFile");
             chooserDialog.show(mFileActivity.getSupportFragmentManager(), FTAG_CHOOSER_DIALOG);
         } else {
             Log_OC.wtf(TAG, "Trying to send a NULL OCFile");