summaryrefslogtreecommitdiff
path: root/java/tests/AndroidTest.xml
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2022-10-10 12:39:19 +0000
committer Nick Chameyev <nickchameyev@google.com> 2022-11-22 12:09:04 +0000
commit0919a83ee94b469eba0a72ee6e79fddb1e7dc7f7 (patch)
treec6f1686f16a3a627960c44fa7068a0b1bbe60b7d /java/tests/AndroidTest.xml
parent7697b5f3b4549749e55acdd930f87bcedb56b422 (diff)
[Partial Screensharing] Add abstraction to show custom device policy blockers in ChooserActivity
Adds an interface that controls the behavior of the blocked empty state of personal/work profile tabs in the ChooserActivity/ResolverActivity. This state is displayed when the device policy doesn't allow sharing between apps. The interface allows to customize in which cases we block the sharing, what text we display there and send custom analytics events. This CL should not change any behaviour. Default behaviour is to not allow cross profile sharing which could be overriden by using different implementation of the ProfileBlockerEmptyStateProvider. E.g. in partial screensharing app selector we could decide whether we want to block the tab based on the screen capturing device policies. Bug: 233348916 Test: atest com.android.internal.app.ChooserActivityTest Test: atest com.android.internal.app.ResolverActivityTest Test: atest com.android.internal.app.ChooserActivityWorkProfileTest Test: atest com.android.internal.app.ResolverActivityWorkProfileTest Change-Id: I2b74b007b80d81ef7cd06456c2dfe42ccfc3f1d1
Diffstat (limited to 'java/tests/AndroidTest.xml')
0 files changed, 0 insertions, 0 deletions