diff options
| author | 2023-01-26 17:11:06 +0000 | |
|---|---|---|
| committer | 2023-02-01 18:05:57 +0000 | |
| commit | 3733ec3be4259c2473cd9e8816b6b54e70c084f4 (patch) | |
| tree | a308cbeaac453018479e20580eb1cbfb119adef3 /libs/androidfw/AssetsProvider.cpp | |
| parent | 2319065bcf3978e93d6538645c9206d1d296677d (diff) | |
[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
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions