diff options
author | Yu Shan Emily Lau <yslau@google.com> | 2010-12-16 18:34:48 -0800 |
---|---|---|
committer | Yu Shan Emily Lau <yslau@google.com> | 2011-01-09 17:33:40 -0800 |
commit | bbe9db4d12978f220aeb0379731b548420bbd6db (patch) | |
tree | cd99b3ce58540a4a7f5480a06aa84085184cc516 /src/com/android/camera/VideoCamera.java | |
parent | 1a04bb18bcfafb903f192a4e5b65f2d0720f371e (diff) | |
download | LegacyCamera-bbe9db4d12978f220aeb0379731b548420bbd6db.zip LegacyCamera-bbe9db4d12978f220aeb0379731b548420bbd6db.tar.gz LegacyCamera-bbe9db4d12978f220aeb0379731b548420bbd6db.tar.bz2 |
Removed the flaky memory checking.
Added the image caputre and video recording stress test for the front facing camera.
Change-Id: Ice3abf35791e1953f70ef25375409fd5efe870b3
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 053b074..15f81ce 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -311,6 +311,13 @@ public class VideoCamera extends NoSearchActivity mPreferences = new ComboPreferences(this); CameraSettings.upgradeGlobalPreferences(mPreferences.getGlobal()); mCameraId = CameraSettings.readPreferredCameraId(mPreferences); + + //Testing purpose. Launch a specific camera through the intent extras. + int intentCameraId = Util.getCameraFacingIntentExtras(this); + if (intentCameraId != -1) { + mCameraId = intentCameraId; + } + mPreferences.setLocalId(this, mCameraId); CameraSettings.upgradeLocalPreferences(mPreferences.getLocal()); |