Skip to content

Commit

Permalink
Changes after CR
Browse files Browse the repository at this point in the history
  • Loading branch information
jabarros committed Jun 22, 2016
1 parent a9fbec2 commit 2d0ae20
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
android:name=".providers.FileContentProvider"
android:authorities="@string/authority"
android:enabled="true"
android:exported="true"
android:exported="false"
android:label="@string/sync_string_files"
android:syncable="false" />

Expand Down
1 change: 0 additions & 1 deletion src/com/owncloud/android/files/FileOperationsHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ public void sendCachedImage(OCFile file) {
Intent sendIntent = new Intent(android.content.Intent.ACTION_SEND);
// set MimeType
sendIntent.setType(file.getMimetype());
// sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + "/#" + file.getRemoteId() + "#" + file.getFileName()));
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("content://" + DiskLruImageCacheFileProvider.AUTHORITY + file.getRemotePath()));
sendIntent.putExtra(Intent.ACTION_SEND, true); // Send Action

Expand Down

0 comments on commit 2d0ae20

Please sign in to comment.