diff options
author | Alex Kershaw <alexkershaw@google.com> | 2020-01-15 20:00:05 +0000 |
---|---|---|
committer | Alex Kershaw <alexkershaw@google.com> | 2020-01-22 13:20:24 +0000 |
commit | 4b0197d8ba2cacaed1a2b6a774c78774fdeeffdc (patch) | |
tree | e3933f538532e6aee103e81a1ef0b8171bd0aa9c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | a263d01c447f4bf5d946dfb4361ad78a5ecce7b1 (diff) |
Reset unset app-ops when the admin sets cross-profile packages.
When the admin unsets cross-profile packages, reset the
INTERACT_ACROSS_PROFILES app-op back to the default if it is no longer
configurable by the user.
Other minor changes:
- Remove the explicit app-op permission check from
setInteractAcrossProfilesAppOp, since AppOpManager performs that check
when required.
- Fix the broadcasting logic in CrossProfileAppsServiceImpl to correctly
set the component and flags.
Bug: 136249261
Bug: 148010178
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileCrossProfileTest
Change-Id: Ib8b5f331fb92fc475bc95ad039adf93fac04da37
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions