diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2010-03-29 14:59:43 -0700 |
---|---|---|
committer | Yu Shan Emily Lau <yslau@google.com> | 2010-03-29 18:29:41 -0700 |
commit | b76ece241964df73be366a8e4d9d7e2c8bbbf4a7 (patch) | |
tree | 4fefa6479a096f4615f56735e28c8c6b048a385f /tests/src/com/android/camera/stress/SwitchPreview.java | |
parent | 137417dade91f8a98cefa655cbd0d48b8cf52af1 (diff) | |
download | LegacyCamera-b76ece241964df73be366a8e4d9d7e2c8bbbf4a7.zip LegacyCamera-b76ece241964df73be366a8e4d9d7e2c8bbbf4a7.tar.gz LegacyCamera-b76ece241964df73be366a8e4d9d7e2c8bbbf4a7.tar.bz2 |
Update the camera package name in the camera tests.
Change-Id: I7e82f9c8c3ea2273d24bfd45fedfe7f912d4f430
Diffstat (limited to 'tests/src/com/android/camera/stress/SwitchPreview.java')
-rwxr-xr-x | tests/src/com/android/camera/stress/SwitchPreview.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/com/android/camera/stress/SwitchPreview.java b/tests/src/com/android/camera/stress/SwitchPreview.java index e03a563..4575043 100755 --- a/tests/src/com/android/camera/stress/SwitchPreview.java +++ b/tests/src/com/android/camera/stress/SwitchPreview.java @@ -46,7 +46,7 @@ public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera private FileWriter mfstream; public SwitchPreview() { - super("com.android.camera", VideoCamera.class); + super("com.google.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.android.camera", + intent.setClassName("com.google.android.camera", "com.android.camera.VideoCamera"); getActivity().startActivity(intent); Thread.sleep(WAIT_FOR_PREVIEW); - intent.setClassName("com.android.camera", + intent.setClassName("com.google.android.camera", "com.android.camera.Camera"); getActivity().startActivity(intent); mOut.write(" ," + i); |