commit | 5ee3398bb90688521c8f0b270a89ba8041003db8 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <pgrafov@google.com> | Fri Apr 23 12:23:49 2021 +0100 |
committer | Pavel Grafov <pgrafov@google.com> | Fri Apr 23 18:02:13 2021 +0100 |
tree | 49635a5d006758e1a9e6ffb6a2613e83b6bad99b | |
parent | 1b2c66567e8ffdf628d2198c3bb4ea841db5f5e9 [diff] |
Drive-by clean-up: remove redundant operation markProfileOwnerOnOrganizationOwnedDeviceUncheckedLocked sets DISALLOW_REMOVE_MANAGED_PROFILE restriction on parent profil, so doing it again in restrictRemovalOfManagedProfile is unnecessary. Bug: 162815601 Test: enroll TestDPC into COPE from SuW, check the profile cannot be removed. Change-Id: Ie50c0cfa8affad58759ad3dd01963bb7edccf720