diff options
| author | 2020-01-17 17:05:25 +0000 | |
|---|---|---|
| committer | 2020-01-23 17:05:58 +0000 | |
| commit | a552dd65fa28ffecb81db9d3877c4ee54cf2790a (patch) | |
| tree | 56bbfd12a9e64cfc0bb134d805d4302d2efaaaf5 /libs/androidfw/DynamicLibManager.cpp | |
| parent | 871fe0a968e39dc4c78d2ee6e82cb5f15d183d20 (diff) | |
Modify setApplicationHidden and isApplicationHidden APIs
* Introduced new logic that allows the profile owner of an
organization-owned device (COPE PO) to hide/unhide system
apps in the personal profile.
* Modified both APIs to be callable on the parent profile
instance if called by the COPE PO.
* When called by the COPE PO, the package provided
must be a system package, otherwise an IllegalArgument
Exception is thrown.
Bug: 147413198
Test: manual testing
atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testApplicationHidden
atest com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I4fae8acee9f00e3b9c805f29cf826f917cda6abd
Diffstat (limited to 'libs/androidfw/DynamicLibManager.cpp')
0 files changed, 0 insertions, 0 deletions