summaryrefslogtreecommitdiffstats
path: root/src_pd
diff options
context:
space:
mode:
authorMangesh Ghiware <mghiware@google.com>2013-10-15 05:05:16 (GMT)
committerMangesh Ghiware <mghiware@google.com>2013-10-15 05:05:16 (GMT)
commit4f4a16782537f6eb08c5cc3ed76831312770e170 (patch)
tree28a520511618d17acc7263eeca40b8d2af97a4c3 /src_pd
parent2d939fe70e52ba4805c6783b01530c8c1c67fb33 (diff)
downloadandroid_packages_apps_Snap-4f4a16782537f6eb08c5cc3ed76831312770e170.zip
android_packages_apps_Snap-4f4a16782537f6eb08c5cc3ed76831312770e170.tar.gz
android_packages_apps_Snap-4f4a16782537f6eb08c5cc3ed76831312770e170.tar.bz2
Fix Camera2 build.
Bug: 11226016 Change-Id: Ib667e52a150ffad44575ea97174f9d13de1d7b5e
Diffstat (limited to 'src_pd')
-rw-r--r--src_pd/com/android/camera/util/IntentHelper.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src_pd/com/android/camera/util/IntentHelper.java b/src_pd/com/android/camera/util/IntentHelper.java
index 79ff962..a6c2c37 100644
--- a/src_pd/com/android/camera/util/IntentHelper.java
+++ b/src_pd/com/android/camera/util/IntentHelper.java
@@ -17,6 +17,7 @@ package com.android.camera.util;
import android.content.Context;
import android.content.Intent;
+import android.net.Uri;
public class IntentHelper {
@@ -31,7 +32,7 @@ public class IntentHelper {
public static Intent getVideoPlayerIntent(Context context, Uri uri) {
return new Intent(Intent.ACTION_VIEW)
- .setPackageName(GALLERY_PACKAGE_NAME)
+ .setPackage(GALLERY_PACKAGE_NAME)
.setDataAndType(uri, "video/*");
}
}