summaryrefslogtreecommitdiff
path: root/identity/aidl/default/common/PresentationSession.cpp
diff options
context:
space:
mode:
authorSeth Moore <sethmo@google.com>2022-01-25 23:04:37 +0000
committerSeth Moore <sethmo@google.com>2022-01-25 23:04:37 +0000
commit1bf823ce75512d8514556a7c98752c1313af886b (patch)
tree8d71317158f8c634b17ea271cf7ac8070ca7688e /identity/aidl/default/common/PresentationSession.cpp
parentff3df54c398f099089db3422f61e53e270a12b5d (diff)
Revert^2 "Add remote key provisioning to the IC HAL"
be32113307d67f54e594e5322f85b65e4e2c4fdb Change-Id: I55ddbddd0bc317f1f077a63b0275c4d55fd9c76f
Diffstat (limited to 'identity/aidl/default/common/PresentationSession.cpp')
-rw-r--r--identity/aidl/default/common/PresentationSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/identity/aidl/default/common/PresentationSession.cpp b/identity/aidl/default/common/PresentationSession.cpp
index fbd897281a..2eb7f2ea16 100644
--- a/identity/aidl/default/common/PresentationSession.cpp
+++ b/identity/aidl/default/common/PresentationSession.cpp
@@ -122,8 +122,8 @@ ndk::ScopedAStatus PresentationSession::setSessionTranscript(
ndk::ScopedAStatus PresentationSession::getCredential(
const vector<uint8_t>& credentialData, shared_ptr<IIdentityCredential>* outCredential) {
shared_ptr<PresentationSession> p = ref<PresentationSession>();
- shared_ptr<IdentityCredential> credential =
- ndk::SharedRefBase::make<IdentityCredential>(hwProxyFactory_, credentialData, p);
+ shared_ptr<IdentityCredential> credential = ndk::SharedRefBase::make<IdentityCredential>(
+ hwProxyFactory_, credentialData, p, hardwareInformation_);
int ret = credential->initialize();
if (ret != IIdentityCredentialStore::STATUS_OK) {
return ndk::ScopedAStatus(AStatus_fromServiceSpecificErrorWithMessage(