summaryrefslogtreecommitdiff
path: root/Keymaster.cpp
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-25 15:15:46 -0800
committerYifan Hong <elsk@google.com>2017-02-24 14:31:39 -0800
commit9e8a577a6331a9b69157f7b229f48d7a611f986c (patch)
treef55ef7f9bf3ca62c96a8b5d1a1ba18224ceb0941 /Keymaster.cpp
parentd21cde6435de41c5e4e2d4cb0ffaf17155c57b0f (diff)
keymaster HAL uses "default" service name
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: marlin boots Bug: 33844934 Change-Id: I7c68c8b9ab0101b2f10ca20b9971a5bd34377168
Diffstat (limited to 'Keymaster.cpp')
-rw-r--r--Keymaster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Keymaster.cpp b/Keymaster.cpp
index 7119dcc..27a46e3 100644
--- a/Keymaster.cpp
+++ b/Keymaster.cpp
@@ -94,7 +94,7 @@ bool KeymasterOperation::finish(std::string* output) {
}
Keymaster::Keymaster() {
- mDevice = ::android::hardware::keymaster::V3_0::IKeymasterDevice::getService("keymaster");
+ mDevice = ::android::hardware::keymaster::V3_0::IKeymasterDevice::getService();
}
bool Keymaster::generateKey(const AuthorizationSet& inParams, std::string* key) {