[CCA] Fix switch resolution race.
The switch resolution race is caused by logic of enabling switching options right after STREAMING ready and before camera configuration finishing. This CL fix the race by introducing new CAMERA_CONFIGURING state will be flagged during the camera stream reconfiguration process. Bug: b/147567355 Test: Manually test clicking on the resolution options when it's clickable and won't jump back to previous option after clicked. Change-Id: I32153ff78bc1bc6a3478225479e289e5617851a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2082665Reviewed-by:Shik Chen <shik@chromium.org> Reviewed-by:
Wei Lee <wtlee@chromium.org> Commit-Queue: Kuo Jen Wei <inker@chromium.org> Auto-Submit: Kuo Jen Wei <inker@chromium.org> Cr-Commit-Position: refs/heads/master@{#748148}
Showing
Please register or sign in to comment