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

[Partial Screensharing] Add enterprise policies handling flag

Adds a feature flag to enable/disable enterprise
policies handling in partial screen sharing feature.

Also adds a logic to forbid cross-profile sharing
using recent tasks when this flag is disabled.

Cross-profile sharing using the app selector
is already forbidden.

Bug: 233348916
Test: com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorControllerTest
Test: manual check that recent tasks don't have apps from
  a profile different from the host app profile
Change-Id: I7247cbc9e45565e157ea70de77f5f7e6563723ad
parent 73d4bdaf
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