Merge "example-light HAL uses "default" service name"

This commit is contained in:
Steven Moreland
2017-02-13 19:22:47 +00:00
committed by Android (Google) Code Review

View File

@@ -28,10 +28,8 @@ using android::sp;
using android::hardware::light::V2_0::ILight;
int main() {
const char instance[] = "light";
android::sp<ILight> service = new Light();
configureRpcThreadpool(1, true /*callerWillJoin*/);
service->registerAsService(instance);
service->registerAsService();
joinRpcThreadpool();
}