summaryrefslogtreecommitdiff
path: root/sensors/1.0/default/service.cpp
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-20 20:27:38 -0800
committerChris Phoenix <cphoenix@google.com>2017-01-20 20:27:38 -0800
commit11e847666fb7a015a25c1833e3b49b4f17cd689d (patch)
tree578b503056a1026bb3b625a607d12104eb850924 /sensors/1.0/default/service.cpp
parent58de426202406937df1218cc976a638160ba72c6 (diff)
sensors 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: Iefb6dfe80ec8f4ab389d2b6529f9f968365289b2
Diffstat (limited to 'sensors/1.0/default/service.cpp')
-rw-r--r--sensors/1.0/default/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sensors/1.0/default/service.cpp b/sensors/1.0/default/service.cpp
index f165a456a7..5bcfe4b1f8 100644
--- a/sensors/1.0/default/service.cpp
+++ b/sensors/1.0/default/service.cpp
@@ -23,5 +23,5 @@ using android::hardware::sensors::V1_0::ISensors;
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
- return defaultPassthroughServiceImplementation<ISensors>("sensors");
+ return defaultPassthroughServiceImplementation<ISensors>();
}