commit | 5e7a88ea9ca7c93a5725be608ecd4fc8c795cc1e | [log] [tgz] |
---|---|---|
author | Alex Johnston <acjohnston@google.com> | Tue Oct 06 16:15:07 2020 +0100 |
committer | Alex Johnston <acjohnston@google.com> | Thu Oct 15 14:23:02 2020 +0100 |
tree | 4f73f0be7258479bafd8e80f1fc9138f21a5f299 | |
parent | 5657694a2000dc34cbb779f5adf5091461fa8ec0 [diff] |
Update getCallerIdentityOptionalAdmin/Package * if the admin/package is null, try get the active admin of the caller. If the active admin is found, create the calleridentity object with the adminComponent/package. * If not active admin is found, create a calleridentity object, where the adminComponent/package is null. Bug: 170095758 Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest Change-Id: I25ae367af3fa3013e800989e9e0acc1f85821bab