mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
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
This commit is contained in:
@@ -23,5 +23,5 @@ using android::hardware::contexthub::V1_0::IContexthub;
|
||||
using android::hardware::defaultPassthroughServiceImplementation;
|
||||
|
||||
int main() {
|
||||
return defaultPassthroughServiceImplementation<IContexthub>("context_hub");
|
||||
return defaultPassthroughServiceImplementation<IContexthub>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user