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

Skip to content
Commit 3733ec3b authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[Partial Screensharing] Handle enterprise policies

Adds a logic that shows/hides work
profile or personal profile tabs
in partial screen sharing when it
is not allowed to capture the screen.

Adds a logic that shows screen capture
disabled dialog when we can't even
start the app picker dialog (when
we can't capture the screen completely).

Bug: 233348916
Test: manual testing using TestDPC with various
  device policies (disabled screen capture on
  work profile, on fully managed device,
  disallow sharing into managed profile policy),
  starting screen sharing from work or personal
  profile host app
Test: com.android.systemui.screenrecord.RecordingControllerTest
Test: com.android.systemui.mediaprojection.devicepolicy.ScreenCaptureDevicePolicyResolverTest
Change-Id: Ib732826a977c560318ff147d630d426c0828b3bd
parent 2319065b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment