commit | c8aeef6ae6469c1db5e7a67eb2e968d29c84e908 | [log] [tgz] |
---|---|---|
author | Edman Anjos <edmanp@google.com> | Mon Mar 20 19:40:22 2017 +0100 |
committer | Edman Anjos <edmanp@google.com> | Tue Mar 21 11:49:11 2017 +0100 |
tree | 51ad101c867104f902c1f27efbefbb8f699891dc | |
parent | c9c57d4478b6203ca1f298c39dfcfaadce0a63ef [diff] |
Remove leftover DO/PO check in isPackageSuspended We already check if the caller is a DO, PO, or a delegate in enforceCanManageScope, the additional call to getActiveAdminForCallerLocked makes this function inaccessible to delegate applications and was removed. Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegation Change-Id: I5df0f19a017a3b6e130329940c79b12cbb95ec9e