[CCA] Close camera of invisible idle window in tablet mode.
This CL add logic for monitering visibility of CCA window and close camera stream when window is idle (not recording) and is non-visible in tablet mode. Bug: 1035653 Test: Pass tast run <DUT> 'camera.CCAUI*'. Test: Manually test camera stream is closed when CCA is idle and is invisible in tablet mode. Test: Manually test recording can be continued when CCA is invisible in tablet mode. Change-Id: I05c1ddf3c16dce3897d694e07208b18fd78acc42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986468Reviewed-by:Shik Chen <shik@chromium.org> Commit-Queue: Kuo Jen Wei <inker@chromium.org> Auto-Submit: Kuo Jen Wei <inker@chromium.org> Cr-Commit-Position: refs/heads/master@{#728464}
Showing
Please register or sign in to comment