commit | a55fa0da0af5f00b8211e3a5ebd6fb2c6f18d58a | [log] [tgz] |
---|---|---|
author | Wu-cheng Li <wuchengli@google.com> | Tue Aug 30 21:36:01 2011 +0800 |
committer | Wu-cheng Li <wuchengli@google.com> | Tue Aug 30 21:36:01 2011 +0800 |
tree | 31c79d284a4af9b95ad857b21ef6bfddbbd5e0fa | |
parent | a898e248a773afbda61236003eddb7458a40dedc [diff] |
Remove the check of takePicture during recording. Some cameras support video snapshot. bug:5187868 Change-Id: Ife74a10a2c242a44ede04035977875a51b6e921a
diff --git a/tests/tests/hardware/src/android/hardware/cts/CameraTest.java b/tests/tests/hardware/src/android/hardware/cts/CameraTest.java index 897481a..c085a99 100644 --- a/tests/tests/hardware/src/android/hardware/cts/CameraTest.java +++ b/tests/tests/hardware/src/android/hardware/cts/CameraTest.java
@@ -1045,12 +1045,6 @@ } try { - mCamera.takePicture(null, null, null); - fail("takePicture should not succeed during recording."); - } catch(RuntimeException e) { - // expected - } - try { mCamera.unlock(); fail("unlock should not succeed during recording."); } catch(RuntimeException e) {