diff options
author | Eran Messeri <eranm@google.com> | 2021-01-14 11:45:48 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2021-01-14 11:45:48 +0000 |
commit | afcd70ee95ed68884deb7835f91c60209678fd57 (patch) | |
tree | b457db50e274f6823d337997b3b203165076d82f /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9c21de1879964054064670d2861c3304e2f09207 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions