Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63fe08d3 authored by Oleg Blinnikov's avatar Oleg Blinnikov
Browse files

Content Recorder check mirror confirmation

In case DisplayManager boots longer than
WindowManager, the ContentRecorder may start
recording the content of the primary display
before the boot completes and without user
confirmation.

This is a privacy problem, so we need to wait
until user had a chance to confirm the mirroring.
This is happening after boot completes and the
display is enabled. This is because if user
not confirmed the mirroring, this can be
either during boot, or after boot when the display
is disabled. This is because the way for the user to
re-enable the display is either via confirmation
dialog or via settings, both ensures the
concious action by the user to enable mirroring.

Change-Id: I605d6d5cce8ecdf5d32a79d7e945fce0b59a29c9
Test: atest ExternalDisplayPolicyTest ContentRecorderTests
Bug: 361698995
Flag: com.android.server.display.feature.flags.enable_waiting_confirmation_before_mirroring
parent f21cc714
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