From a07c273aac71e5b110d6f31cfc94bfd1bff0c5cc Mon Sep 17 00:00:00 2001 From: Philip Chen Date: Tue, 17 Nov 2026 23:32:37 +0000 Subject: [PATCH] emulated_camera: Add 1920x1080 to SUPPORTED_SIZES Advertise 1920x1080@30fps in SUPPORTED_SIZES so rear-facing emulated cameras satisfy the Android CDD 2 MP minimum sensor resolution requirement. Bug: b/571553309 Test: bazel test //cuttlefish/host/commands/vhost_user_media/... Test: atest CtsCameraTestCases (http://ab/I33900010668603623) --- .../commands/vhost_user_media/emulated_camera/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/cvd/cuttlefish/host/commands/vhost_user_media/emulated_camera/src/device.rs b/base/cvd/cuttlefish/host/commands/vhost_user_media/emulated_camera/src/device.rs index cae97c6e611..b716cec3d75 100644 --- a/base/cvd/cuttlefish/host/commands/vhost_user_media/emulated_camera/src/device.rs +++ b/base/cvd/cuttlefish/host/commands/vhost_user_media/emulated_camera/src/device.rs @@ -407,7 +407,7 @@ const WIDTH: u32 = 640; const HEIGHT: u32 = 480; const FRAME_RATE: u32 = 30; -const SUPPORTED_SIZES: [(u32, u32); 3] = [(320, 240), (640, 480), (1280, 720)]; +const SUPPORTED_SIZES: [(u32, u32); 4] = [(320, 240), (640, 480), (1280, 720), (1920, 1080)]; const INPUTS: [bindings::v4l2_input; 1] = [bindings::v4l2_input { index: 0,