CCA: Ignore setOptions error when tap-to-focus
Some devices do not support the pointsOfInterest control and there is no standard Web API can query it without trying to apply it. This CL catches the exception from applyConstraints() and simply ignores it. Bug: b/172345418 Test: Manually Change-Id: Ied24770a1eddf8e6f3772287da6fd55c818b85e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2637434 Commit-Queue: Shik Chen <shik@chromium.org> Auto-Submit: Shik Chen <shik@chromium.org> Reviewed-by:Inker Kuo <inker@chromium.org> Cr-Commit-Position: refs/heads/master@{#844715}
Showing
Please register or sign in to comment