diff options
author | Pierre Barbier de Reuille <pbdr@google.com> | 2020-01-10 15:59:59 +0000 |
---|---|---|
committer | Pierre Barbier de Reuille <pbdr@google.com> | 2020-02-12 07:44:23 +0000 |
commit | 1858482e491ee9e2c80126a0354f09ce2b4c7eb5 (patch) | |
tree | 3a47dc155aa9c923dc02f17a93f4501e139c00b2 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 725becc7fe3cd8792ed5ccc7420218d170bd2443 (diff) |
Add manifest broadcasts for profile (un-)available.
This mean both switch on/off and add/remove profiles.
The broadcasts already exists for registered receivers, this adds them
for manifest receivers with INTERACT_ACROSS_PROFILES permission and
crossProfile attribute.
The MANAGED_PROFILE_REMOVED broadcast is sent to all application with
android:crossProfile="true". Any cross profile app may be impacted, and
there is no possible transfer of information as the account is already
deleted at the time the signal is emitted.
Change-Id: I17fb9a01b70b28845c5d6aacdcdd497a82391474
Fix: 145135525, 145598120
Test: Demo-app using Digital Wellbeing (automated test underway).
Test: atest com.android.cts.devicepolicy.CrossProfileAppsPermissionHostSideTest
Test: atest 'com.android.cts.devicepolicy.QuietModeHostsideTest#testBroadcastManagedProfileAvailable_withCrossProfileAppsOp'
Test: atest 'com.android.cts.devicepolicy.QuietModeHostsideTest#testBroadcastManagedProfileAvailable_withoutCrossProfileAppsOp'
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions