diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2009-09-18 09:07:46 -0700 |
---|---|---|
committer | Yu Shan Emily Lau <yslau@google.com> | 2009-09-18 09:07:46 -0700 |
commit | 531afe2c4831b8ce823621120924ef775a0c14b0 (patch) | |
tree | 2b09b0b1aa04a0cbccb26ece1a25f8e132aaa0d2 /tests/src/com | |
parent | cc529326d9369290abd6933f1d070859b3cadf75 (diff) | |
download | packages_apps_LegacyCamera-531afe2c4831b8ce823621120924ef775a0c14b0.zip packages_apps_LegacyCamera-531afe2c4831b8ce823621120924ef775a0c14b0.tar.gz packages_apps_LegacyCamera-531afe2c4831b8ce823621120924ef775a0c14b0.tar.bz2 |
Start the intent in order to switch to video capture mode.
Diffstat (limited to 'tests/src/com')
-rwxr-xr-x | tests/src/com/android/camera/stress/ImageCapture.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/src/com/android/camera/stress/ImageCapture.java b/tests/src/com/android/camera/stress/ImageCapture.java index 33f373d..e5d8679 100755 --- a/tests/src/com/android/camera/stress/ImageCapture.java +++ b/tests/src/com/android/camera/stress/ImageCapture.java @@ -249,6 +249,7 @@ public class ImageCapture extends ActivityInstrumentationTestCase2 <Camera> { Intent intent = new Intent(); intent.setClassName("com.android.camera", "com.android.camera.VideoCamera"); + getActivity().startActivity(intent); for (int i = 0; i < TOTAL_NUMBER_OF_VIDEOCAPTURE; i++) { Thread.sleep(WAIT_FOR_PREVIEW); // record a video |