commit | 8c76056c1919857d82cf2fe70f02a84d909097b4 | [log] [tgz] |
---|---|---|
author | Charles He <qiurui@google.com> | Tue Oct 25 16:36:53 2016 +0100 |
committer | Charles He <qiurui@google.com> | Tue Oct 25 16:36:53 2016 +0100 |
tree | 5bbd4c8446284bb19b0a15c18095cb57ed1d4cf3 | |
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