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) {