From 35688439f40f00a1376dcfab6e6495989d82e433 Mon Sep 17 00:00:00 2001 From: Wei-Ta Chen Date: Mon, 22 Mar 2010 13:13:38 -0700 Subject: Fix 2533691 by using REVIEW intent added in Gallery. Bug: 2533691 Change-Id: Ia8b7732a485bde5dec6b7cff0b80d4d6f08a8fee --- src/com/android/camera/VideoCamera.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/com/android/camera/VideoCamera.java') diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 4a448cb..411386a 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -112,10 +112,6 @@ public class VideoCamera extends NoSearchActivity private static final long SHUTTER_BUTTON_TIMEOUT = 500L; // 500ms - private static final String GALLERY_PACKAGE_NAME = "com.cooliris.app"; - private static final String GALLERY_CLASS_NAME = "com.cooliris.media.Gallery"; - private static final String REVIEW_EXTRA_IN_GALLERY = "review"; - /** * An unpublished intent flag requesting to start recording straight away * and return as soon as recording is stopped. @@ -1194,9 +1190,7 @@ public class VideoCamera extends NoSearchActivity private void viewLastVideo() { Intent intent = null; if (mThumbController.isUriValid()) { - intent = new Intent(Intent.ACTION_VIEW, mThumbController.getUri()); - intent.setClassName(GALLERY_PACKAGE_NAME, GALLERY_CLASS_NAME); - intent.putExtra(REVIEW_EXTRA_IN_GALLERY, true); + intent = new Intent(Util.REVIEW_ACTION, mThumbController.getUri()); try { startActivity(intent); } catch (ActivityNotFoundException ex) { -- cgit v1.1