summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2022-08-25 08:32:25 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2022-08-31 16:22:30 +0000
commited32e4d9ed73d4b68af45dee4e6224f4b654987f (patch)
tree75e732991af87fdfd6bab7b4262b120277d9dc0d /libs/androidfw/ResourceTimer.cpp
parent615f07c5de4b38913a89c3864b97a249939e05a0 (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions