Add a HIDL-based keystore_get variant
Create a "keystore_get" library that uses the HIDL path insted
of using binder directly.
Bug: 34603782
Test: Able to connect to wifi passpoint networks.
Change-Id: I0f545ea104e3f27bebd262bc5a2e79f6b517c972
diff --git a/keystore-engine/keystore_backend_hidl.cpp b/keystore-engine/keystore_backend_hidl.cpp
index b791afa..37ad9a1 100644
--- a/keystore-engine/keystore_backend_hidl.cpp
+++ b/keystore-engine/keystore_backend_hidl.cpp
@@ -38,9 +38,8 @@
}
sp<IKeystore> service = IKeystore::getService();
-
if (service == NULL) {
- ALOGE("could not contact keystore");
+ ALOGE("could not contact keystore HAL");
return -1;
}
@@ -66,9 +65,8 @@
}
sp<IKeystore> service = IKeystore::getService();
-
if (service == NULL) {
- ALOGE("could not contact keystore");
+ ALOGE("could not contact keystore HAL");
return -1;
}