From 8f9c6cd6ef63547a8bc06d8a3d8f14b6eb6293d4 Mon Sep 17 00:00:00 2001 From: Chris Phoenix Date: Mon, 23 Jan 2017 17:50:47 -0800 Subject: [PATCH] context_hub 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: I5640441f5cfc7846e854f7ea23abb76ab3628d52 --- contexthub/1.0/default/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contexthub/1.0/default/service.cpp b/contexthub/1.0/default/service.cpp index db9a4e7107..8c676b45c6 100644 --- a/contexthub/1.0/default/service.cpp +++ b/contexthub/1.0/default/service.cpp @@ -23,5 +23,5 @@ using android::hardware::contexthub::V1_0::IContexthub; using android::hardware::defaultPassthroughServiceImplementation; int main() { - return defaultPassthroughServiceImplementation("context_hub"); + return defaultPassthroughServiceImplementation(); }