diff options
author | Eran Messeri <eranm@google.com> | 2019-12-01 20:01:21 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2020-01-13 14:56:33 +0000 |
commit | 6ad0e194d7195ee4d06bb32b966057ea15e3e563 (patch) | |
tree | 1b4c76ccb25e091b98da7baae5ebb2a88b4bd12e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 83b9c071040015d363f96227ca186d439f6d2697 (diff) |
Disable provisioning in COMP mode
Restrict adding a managed profile when the device has a device owner.
This mode is no longer supported, in favour of Corporate Owned,
Personally Enabled mode (Organization-Owned device with Managed Profile).
The restriction on adding managed profiles is now added by default when
a device owner is set, and is removed when the device owner is removed,
to avoid other system copoments from creating a managed profile when
there's a device owner.
Additionally, the method for checking whether pre-provisioning
conditions are met has been modified to return an error if the
restriction is set.
Bug: 145271440
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Change-Id: Ife25f4e2faffe84d85ab7786407c14997b4cf069
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions