Reduce sizes camera reports.
Due to gpu freezing on larger images.
BUG: http://b/33221285, http://b/33058456
TEST: ImageWriter cts tests no longer fail.
Change-Id: Ibc0fe4ec78181646074333c50ef6cd2b386ba3a4
diff --git a/modules/camera/3_4/v4l2_wrapper.cpp b/modules/camera/3_4/v4l2_wrapper.cpp
index b24535c..64115fb 100644
--- a/modules/camera/3_4/v4l2_wrapper.cpp
+++ b/modules/camera/3_4/v4l2_wrapper.cpp
@@ -36,8 +36,7 @@
namespace v4l2_camera_hal {
-const int32_t kStandardSizes[][2] = {
- {1920, 1080}, {1280, 720}, {640, 480}, {320, 240}};
+const int32_t kStandardSizes[][2] = {{640, 480}, {320, 240}};
V4L2Wrapper* V4L2Wrapper::NewV4L2Wrapper(const std::string device_path) {
std::unique_ptr<V4L2Gralloc> gralloc(V4L2Gralloc::NewV4L2Gralloc());