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

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

Remove enforceCallerCanRequestDeviceIdAttestation()

As enforceCallerCanRequestDeviceIdAttestation() only triggers a precondition checkCallAuthorisation on hasDeviceIdAccessUnchecked(), it can be removed and replaced with the precondition check itself. DPMtests that test enforeCallerCanRequestDeviceIdAttestation are modified to test hasDeviceIdAccessUnchecked().

Fixes: 243629377
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: I0e387a501185320266e699275a85e81892c77484
parent 615f07c5
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