diff options
author | Martijn Coenen <maco@google.com> | 2012-04-13 15:23:38 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2012-04-13 15:23:38 -0700 |
commit | 1e648cb762bf539102888846d18c0b3de5d6fc56 (patch) | |
tree | d17c976dc35deeca5ae6b5ccda686745823d58f2 /src | |
parent | fe047898b1afd2b85ab37755cdf3f19b058abc58 (diff) | |
download | android_packages_apps_Snap-1e648cb762bf539102888846d18c0b3de5d6fc56.tar.gz android_packages_apps_Snap-1e648cb762bf539102888846d18c0b3de5d6fc56.tar.bz2 android_packages_apps_Snap-1e648cb762bf539102888846d18c0b3de5d6fc56.zip |
Use new Beam push API.
Change-Id: I3e5a69832d1ac01759e37fbde2cf2c1926219445
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 4 |
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 { |