diff options
author | Wei-Ta Chen <weita@google.com> | 2010-03-22 13:13:38 -0700 |
---|---|---|
committer | Wei-Ta Chen <weita@google.com> | 2010-03-22 13:46:22 -0700 |
commit | 35688439f40f00a1376dcfab6e6495989d82e433 (patch) | |
tree | d9591815c26a4800e5e66d354f922bb2ad491f81 /src/com/android/camera/VideoCamera.java | |
parent | e36da237f13cb3f31ec6fe3af98f2f838cabc6b2 (diff) | |
download | LegacyCamera-35688439f40f00a1376dcfab6e6495989d82e433.zip LegacyCamera-35688439f40f00a1376dcfab6e6495989d82e433.tar.gz LegacyCamera-35688439f40f00a1376dcfab6e6495989d82e433.tar.bz2 |
Fix 2533691 by using REVIEW intent added in Gallery.
Bug: 2533691
Change-Id: Ia8b7732a485bde5dec6b7cff0b80d4d6f08a8fee
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 8 |
1 files changed, 1 insertions, 7 deletions
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) { |