From 761306fadfa94b538f43e8cf3463bf6d22814947 Mon Sep 17 00:00:00 2001 From: Alan Newberger Date: Wed, 30 Oct 2013 12:51:21 -0700 Subject: Remove CameraUtil.launchGallery, ensure SecureCamera uses Gallery up icon CameraUtil.launchGallery incorrectly describes a mechanism to call an APP_GALLERY category intent. Since we're using Gallery icon we should go direct to Gallery, which IntentHelper already does. Simply removed the util class and call the helper direct from the activity. Also noticed during testing that the SecureCamera was not correctly showing the Gallery icon, though its behavior would take user to Gallery. Finally, removing restriction that the video player intent should go to Gallery, instead it should route to system preferred intent. Bug: 11065256 Change-Id: I941f9469de169919c4bac6c91dde7e577921f737 --- src_pd/com/android/camera/util/IntentHelper.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src_pd/com/android/camera/util') diff --git a/src_pd/com/android/camera/util/IntentHelper.java b/src_pd/com/android/camera/util/IntentHelper.java index a6c2c3720..6f17a624b 100644 --- a/src_pd/com/android/camera/util/IntentHelper.java +++ b/src_pd/com/android/camera/util/IntentHelper.java @@ -32,7 +32,6 @@ public class IntentHelper { public static Intent getVideoPlayerIntent(Context context, Uri uri) { return new Intent(Intent.ACTION_VIEW) - .setPackage(GALLERY_PACKAGE_NAME) .setDataAndType(uri, "video/*"); } } -- cgit v1.2.3