mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
dumpstate 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: builds Bug: 33844934 Change-Id: I4415e38d0f50884e31feedddf8e4236fa69f1a31
This commit is contained in:
committed by
Yifan Hong
parent
5ba36270ea
commit
888c2300de
@@ -29,6 +29,6 @@ using ::android::sp;
|
||||
int main (int /* argc */, char * /* argv */ []) {
|
||||
sp<IDumpstateDevice> dumpstate = new DumpstateDevice;
|
||||
configureRpcThreadpool(1, true);
|
||||
dumpstate->registerAsService("dumpstate");
|
||||
dumpstate->registerAsService();
|
||||
joinRpcThreadpool();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user