From 1e648cb762bf539102888846d18c0b3de5d6fc56 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Fri, 13 Apr 2012 15:23:38 -0700 Subject: Use new Beam push API. Change-Id: I3e5a69832d1ac01759e37fbde2cf2c1926219445 --- src/com/android/gallery3d/app/PhotoPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/gallery3d/app/PhotoPage.java') 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 { -- cgit v1.2.3