summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/gallery3d/app/PhotoPage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 9f12ffde8..8797f84e5 100644
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -270,8 +270,8 @@ public class PhotoPage extends ActivityState
intent.putExtra(Intent.EXTRA_STREAM, manager.getContentUri(path));
mShareActionProvider.setShareIntent(intent);
if (mNfcAdapter != null) {
- mNfcAdapter.setBeamPushUri(MenuExecutor.getMimeType(type),
- manager.getContentUri(path), (Activity)mActivity);
+ mNfcAdapter.setBeamPushUris(new Uri[]{manager.getContentUri(path)},
+ (Activity)mActivity);
}
mPendingSharePath = null;
} else {