tv_cec 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: I380736fdf1cc85976c24f104e2cf5cb22ec24364
This commit is contained in:
Chris Phoenix 2017-01-20 18:50:23 -08:00 committed by Yifan Hong
parent bbc66c99c6
commit bb824a09a9

View file

@ -23,5 +23,5 @@ using android::hardware::tv::cec::V1_0::IHdmiCec;
using android::hardware::defaultPassthroughServiceImplementation;
int main() {
return defaultPassthroughServiceImplementation<IHdmiCec>("tv.cec");
return defaultPassthroughServiceImplementation<IHdmiCec>();
}