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: I6533e4fe0e63e2d0b0158148f5e438bb4b6b5886
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
- return defaultPassthroughServiceImplementation<IKeymasterDevice>("keymaster", 1);
+ return defaultPassthroughServiceImplementation<IKeymasterDevice>();
}