commit | 522076dec34afd35a580a01496489ec468fe1645 | [log] [tgz] |
---|---|---|
author | arangelov <arangelov@google.com> | Mon May 24 18:48:06 2021 +0100 |
committer | arangelov <arangelov@google.com> | Wed May 26 14:15:23 2021 +0100 |
tree | b7a50f34cf8006131dfffc3d3bec3b46de2e3253 | |
parent | 5f28ee3e5242bb1ff6b36f9086d0cad7557484f6 [diff] |
Clear calling identity when accessing isProfileOwner and listAllOwners Last year we added a security fix ag/12968597 to address b/153995973. Now, some DPM methods require the interact across users permission, unlike in R. This CL aims to prevent potential security exceptions in these methods by clearing their calling identity. Bug: 182279073 Test: atest DevicePolicyManagerTest Change-Id: Ie861a7880160563f9613db72e3283edac294a7a1