diff options
author | Chris Phoenix <cphoenix@google.com> | 2017-01-24 23:03:49 -0800 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2017-02-23 19:31:26 +0000 |
commit | 89702f100e64cbda69a8f028984a51719f6b6456 (patch) | |
tree | 57778645c5d7363067c17cd1f7319116c128bcd5 /dumpstate | |
parent | a089c9a6b413a4bd53659d717456f52233880a45 (diff) | |
download | bullhead-89702f100e64cbda69a8f028984a51719f6b6456.tar.gz |
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: Ie720a2487242ab6ead477d41a387e550ac0bac15
Diffstat (limited to 'dumpstate')
-rw-r--r-- | dumpstate/service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpstate/service.cpp b/dumpstate/service.cpp index 06bb5fb..ba5288f 100644 --- a/dumpstate/service.cpp +++ b/dumpstate/service.cpp @@ -30,6 +30,6 @@ using ::android::sp; int main(int /* argc */, char* /* argv */ []) { sp<IDumpstateDevice> dumpstate = new DumpstateDevice; configureRpcThreadpool(1, true); - dumpstate->registerAsService("dumpstate"); + dumpstate->registerAsService(); joinRpcThreadpool(); } |