From 79f18a280a26d3cbca436f1a83d8cf67cf0653c7 Mon Sep 17 00:00:00 2001 From: Chris Phoenix Date: Thu, 26 Jan 2017 09:28:58 -0800 Subject: [PATCH] vibrator 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: service registers correctly as default Bug: 33844934 Change-Id: Ic0e9ff98b16bfb66e67222054653b7347442bacb --- vibrator/1.0/default/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vibrator/1.0/default/service.cpp b/vibrator/1.0/default/service.cpp index 064e1e2f64..7cc074461d 100644 --- a/vibrator/1.0/default/service.cpp +++ b/vibrator/1.0/default/service.cpp @@ -22,5 +22,5 @@ using android::hardware::vibrator::V1_0::IVibrator; using android::hardware::defaultPassthroughServiceImplementation; int main() { - return defaultPassthroughServiceImplementation("vibrator"); + return defaultPassthroughServiceImplementation(); }