diff options
author | Chris Phoenix <cphoenix@google.com> | 2017-01-23 14:17:23 -0800 |
---|---|---|
committer | Chris Phoenix <cphoenix@google.com> | 2017-01-23 23:58:00 +0000 |
commit | 6d0a0911d5de40a91b05c47bf85aa76b7c617f94 (patch) | |
tree | 974f60e448f8f06f382e02f66691cba977fbf326 /light/2.0/default/service.cpp | |
parent | 28952f593350418b76e6997e18e43b910672f6af (diff) |
light 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: I042320d62f88ba9585ee05f33fe7592b5ffa1884
Diffstat (limited to 'light/2.0/default/service.cpp')
-rw-r--r-- | light/2.0/default/service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/light/2.0/default/service.cpp b/light/2.0/default/service.cpp index b3848e95f4..70ae5655d1 100644 --- a/light/2.0/default/service.cpp +++ b/light/2.0/default/service.cpp @@ -23,5 +23,5 @@ using android::hardware::light::V2_0::ILight; using android::hardware::defaultPassthroughServiceImplementation; int main() { - return defaultPassthroughServiceImplementation<ILight>("light"); + return defaultPassthroughServiceImplementation<ILight>(); } |