diff options
Diffstat (limited to 'src_pd/com/android/camera/util/IntentHelper.java')
-rw-r--r-- | src_pd/com/android/camera/util/IntentHelper.java | 3 |
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 79ff962ed..a6c2c3720 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/*"); } } |