summaryrefslogtreecommitdiff
path: root/boot/1.0/default/service.cpp
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-20 13:46:36 -0800
committerChris Phoenix <cphoenix@google.com>2017-01-21 02:34:12 +0000
commita79b3b6d9550bbca45340e221b4e342fbfe6c973 (patch)
tree1cd452ce9533198b4c2cb28ae55e2f1709adbf81 /boot/1.0/default/service.cpp
parentcd912948cf37642400107963c562cf278562c129 (diff)
bootctrl 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; verify HAL still works Bug: 33844934 Change-Id: I43f282ffedf18e4b0817b49fc4860ac39b127d04
Diffstat (limited to 'boot/1.0/default/service.cpp')
-rw-r--r--boot/1.0/default/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/1.0/default/service.cpp b/boot/1.0/default/service.cpp
index 0dc56bf1b6..f3996efe9c 100644
--- a/boot/1.0/default/service.cpp
+++ b/boot/1.0/default/service.cpp
@@ -22,5 +22,5 @@ using ::android::hardware::boot::V1_0::IBootControl;
using android::hardware::defaultPassthroughServiceImplementation;
int main (int /* argc */, char * /* argv */ []) {
- return defaultPassthroughServiceImplementation<IBootControl>("bootctrl");
+ return defaultPassthroughServiceImplementation<IBootControl>();
}