summaryrefslogtreecommitdiffstats
path: root/tests/src/com
diff options
context:
space:
mode:
authorYu Shan Emily Lau <yslau@google.com>2009-09-18 09:07:46 -0700
committerYu Shan Emily Lau <yslau@google.com>2009-09-18 09:07:46 -0700
commit531afe2c4831b8ce823621120924ef775a0c14b0 (patch)
tree2b09b0b1aa04a0cbccb26ece1a25f8e132aaa0d2 /tests/src/com
parentcc529326d9369290abd6933f1d070859b3cadf75 (diff)
downloadpackages_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-xtests/src/com/android/camera/stress/ImageCapture.java1
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