diff options
author | Chih-Chung Chang <chihchung@google.com> | 2010-03-08 15:55:13 -0800 |
---|---|---|
committer | Chih-Chung Chang <chihchung@google.com> | 2010-03-08 15:56:17 -0800 |
commit | e57b61d261f6e8aa502a7da195d5f9192fc55630 (patch) | |
tree | e7cd7e626ce4917065e96e7a0868753973add681 /tests/src/com/android/camera/stress/SwitchPreview.java | |
parent | 0ba78c389e42365278f346202a74894053f97556 (diff) | |
download | LegacyCamera-e57b61d261f6e8aa502a7da195d5f9192fc55630.zip LegacyCamera-e57b61d261f6e8aa502a7da195d5f9192fc55630.tar.gz LegacyCamera-e57b61d261f6e8aa502a7da195d5f9192fc55630.tar.bz2 |
Revert "Unbundle: change package name to com.google.android.camera"
This reverts commit 1ace47c7352d65b10361863316b5748b4f3e0689.
Diffstat (limited to 'tests/src/com/android/camera/stress/SwitchPreview.java')
-rwxr-xr-x | tests/src/com/android/camera/stress/SwitchPreview.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/src/com/android/camera/stress/SwitchPreview.java b/tests/src/com/android/camera/stress/SwitchPreview.java index d269a11..e03a563 100755 --- a/tests/src/com/android/camera/stress/SwitchPreview.java +++ b/tests/src/com/android/camera/stress/SwitchPreview.java @@ -33,7 +33,7 @@ import android.util.Log; * * adb shell am instrument \ * -e class com.android.camera.stress.SwitchPreview \ - * -w com.google.android.camera.tests/com.android.camera.CameraStressTestRunner + * -w com.android.camera.tests/com.android.camera.CameraStressTestRunner * */ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera>{ @@ -46,7 +46,7 @@ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera private FileWriter mfstream; public SwitchPreview() { - super("com.google.android.camera", VideoCamera.class); + super("com.android.camera", VideoCamera.class); } @Override @@ -93,11 +93,11 @@ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera for (int i=0; i< TOTAL_NUMBER_OF_SWITCHING; i++) { Thread.sleep(WAIT_FOR_PREVIEW); Intent intent = new Intent(); - intent.setClassName("com.google.android.camera", + intent.setClassName("com.android.camera", "com.android.camera.VideoCamera"); getActivity().startActivity(intent); Thread.sleep(WAIT_FOR_PREVIEW); - intent.setClassName("com.google.android.camera", + intent.setClassName("com.android.camera", "com.android.camera.Camera"); getActivity().startActivity(intent); mOut.write(" ," + i); |