diff options
author | Charles He <qiurui@google.com> | 2016-10-25 16:36:53 +0100 |
---|---|---|
committer | Charles He <qiurui@google.com> | 2016-10-25 16:36:53 +0100 |
commit | 8c76056c1919857d82cf2fe70f02a84d909097b4 (patch) | |
tree | 5bbd4c8446284bb19b0a15c18095cb57ed1d4cf3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 817695589c80cfc0913d94e3dd52dac2782e8ed6 (diff) |
Update API whitelist supported by parent profile
1) Add #getPasswordMaximumLength() to the whitelist supported by the
parent profile
2) Throw SecurityException when #isAdminActive() is called on parent
profile
Change-Id: Idcc3ef48ce83963fcaa0259ec5f5781d95c83afa
Fixes: 32063080
Test: cts-tradefed run cts --module DevicePolicyManager --test com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions