Skip to content
Commit dbe0ea06 authored by Michael Bai's avatar Michael Bai Committed by Commit Bot
Browse files

ContentCapture: re-stream onscreen content when the frame show again

Previously ContentCaptureConsumer had no way to know the the frame
shows again because the visible content didn't change.

This patch resets the task session when the frame was hidden, so
ContentCapture task will stream on-screen content because they
aren't streamed from the task point of view when the frame was
shown.

Adds the test to coverage this scenario.

Bug: 1137463
Change-Id: I0065ce080101d2149622b0f9f6a3aa196c18d717
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511030


Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Michael Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823251}
parent 1798dc24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment