Eran Messeri afcd70ee95 Prevent use of Enrollment-specific Id on parent
Throw if the caller is trying to call methods related to
Enrollment-specific ID on the parent DevicePolicyManager instance.

This fixes ManagedProfileTest#testParentProfileApiDisabled

Bug: 177439350
Bug: 168627890
Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Change-Id: I06610249021639f9319835d28c681bc0cb3d3887
2021-01-14 11:45:48 +00:00
…
2021-01-11 20:46:44 +00:00
…
…
…
…
2021-01-12 05:19:38 +00:00
…
…
2021-01-06 18:40:58 -07:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%