Skip to content
Commit 5e7a88ea authored by Alex Johnston's avatar Alex Johnston
Browse files

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
parent 5657694a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment