summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2012-04-13 15:23:38 -0700
committerMartijn Coenen <maco@google.com>2012-04-13 15:23:38 -0700
commita41ed05ff2f71d2177b4f24f53acd848b46fc840 (patch)
treeab7c0abf5d54ed9db01c7b8f0465eaff7456c02b
parent96a9d9daa55fa5dc9bd73f3352d60942b06e67a0 (diff)
downloadandroid_packages_apps_Gallery2-a41ed05ff2f71d2177b4f24f53acd848b46fc840.tar.gz
android_packages_apps_Gallery2-a41ed05ff2f71d2177b4f24f53acd848b46fc840.tar.bz2
android_packages_apps_Gallery2-a41ed05ff2f71d2177b4f24f53acd848b46fc840.zip
Use new Beam push API.
Change-Id: I3e5a69832d1ac01759e37fbde2cf2c1926219445
-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 {