From 9e8a577a6331a9b69157f7b229f48d7a611f986c Mon Sep 17 00:00:00 2001 From: Chris Phoenix Date: Wed, 25 Jan 2017 15:15:46 -0800 Subject: [PATCH] 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 --- Keymaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {