Boxster: Proto converter type bug
Camera is marked as unavailable in xml files because converter does not correctly interpret camera count.
BUG=b:159933678
TEST=None
Cq-Depend: chrome-internal:3165724,chrome-internal:3164613,chrome-internal:3164614,chrome-internal:3165728,chrome-internal:3164615
Change-Id: Id964a6e193e708c24f594ae17e86b3db803cfd6c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/config/+/2285266
Tested-by: Josie Nordrum <josienordrum@google.com>
Commit-Queue: Josie Nordrum <josienordrum@google.com>
Reviewed-by: C Shapiro <shapiroc@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
diff --git a/payload_utils/cros_config_proto_converter.py b/payload_utils/cros_config_proto_converter.py
index 88ed3cb..22b5533 100755
--- a/payload_utils/cros_config_proto_converter.py
+++ b/payload_utils/cros_config_proto_converter.py
@@ -647,7 +647,7 @@
for design_config in hw_design.configs:
hw_features = design_config.hardware_features
any_camera = hw_features.camera.count.value > 0
- multi_camera = hw_features.camera.count == 2
+ multi_camera = hw_features.camera.count.value > 1
touchscreen = _any_present([hw_features.screen.touch_support])
acc = hw_features.accelerometer
gyro = hw_features.gyroscope