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: I8ba24cd078dc5d36ecf02ddc0febc745b98d5a95
This commit is contained in:
parent
e8ba1802a6
commit
9b3791caa8
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ int main(int argc, char* argv[]) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
auto dev = android::hardware::keymaster::V3_0::IKeymasterDevice::getService("keymaster");
|
||||
auto dev = android::hardware::keymaster::V3_0::IKeymasterDevice::getService();
|
||||
if (dev.get() == nullptr) {
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue