summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Seth Moore <sethmo@google.com> 2023-04-25 16:01:56 -0700
committer Seth Moore <sethmo@google.com> 2023-04-26 13:37:12 -0700
commit47590a86d78a84e2ad3069000279cf2e08b8ff33 (patch)
tree0a3c2a4e79cf4c353443dbf2c14b649aba226657 /api/api_test.go
parentae4181919c045d0ab504398b54689125c30c54c5 (diff)
Use IBinder to compare callbacks in remote provisioning service
We were comparing callback types, but these are not guaranteed to be equivalent when a client calls into our service with the same object. Instead, call asBinder to get the underlying IBinder, which is guaranteed to be the same as long as the remote binder is the same object. Bug: 275653768 Test: RkpdAppUnitTests RkpdAppIntegrationTests RkpdAppHostTests Test: RemoteProvisioningServiceTests keystore2_test Change-Id: I0d9417234ffab1bb1e892bf4a93760175f3f29c5
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions