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
This commit is contained in:
parent
d21cde6435
commit
9e8a577a63
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue