diff options
author | Edman Anjos <edmanp@google.com> | 2017-02-24 15:41:20 +0100 |
---|---|---|
committer | Edman Anjos <edmanp@google.com> | 2017-02-24 15:53:12 +0100 |
commit | 0423b8f72f69da200eab2efee6ca897dfabede31 (patch) | |
tree | 8435de85f96dc64742ef39332aaaeca3113b3726 /tools/aapt2/diff/Diff.cpp | |
parent | e20e7ebbfb39a52e95c72c6abbf1409a2a9abc44 (diff) |
Fix is installed check condition in DevicePolicyManagerService
DPMS#setDelegatedScopes generally enforces the delegate is installed in
the device, but this check should be skipped on DELEGATION_CERT_INSTALL
scopes on pre-N. Additionally the check is also skipped when clearing up
delegations on pre-N. The check was extracted to a separate function for
clarity.
Bug: 35234284
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases --test com.android.cts.devicepolicy.ProfileOwnerTestApi23#testDelegatedCertInstaller
Change-Id: Ib723b58243f901af907e368017b1ae0bb101360d
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions