CCA: Filter out photo resolution options without corresponding preview
Makes setting view get available capture resolutions from ConstraintsPreferrer instead of DeviceInfoUpdator. The PhotoConstraintsPreferrer will first pair capture and preview resolution so as to filter out capture resolution without corresponding preview and feed the correct available options to settings view. Bug: 1113589 Test: Plugin c930e webcam, see will photo resolution options are togglable. Test: tast run -verbose <DUT> "camera.CCAUI*" Change-Id: Ifa305d48d41c7dde7bd2b5ea1f3168bfd36609ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2358939 Commit-Queue: Kuo Jen Wei <inker@chromium.org> Auto-Submit: Kuo Jen Wei <inker@chromium.org> Reviewed-by:Shik Chen <shik@chromium.org> Reviewed-by:
Wei Lee <wtlee@chromium.org> Cr-Commit-Position: refs/heads/master@{#800039}
Showing
Please register or sign in to comment