Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 713cf9ac authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Merge check Device ID logic in DPMS

checkDeviceIdentifierAccess() and
enforceCallerCanRequestDeviceIdAttestation() overlap in terms of
checking if the caller has acces to the device ID. However they each use
different logic for this check. To ensure these two checks are always
in sync, they should call the same underlying code wherever logic can overlap.

Fixes: 220721469
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly
Test:atest android.admin.cts.DevicePolicyManagerTest
Change-Id: Ibe196123640c1d2d29fd62c7c77453c0874fc7a3
parent a61c60e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment