Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e445f52e authored by Steven Moreland's avatar Steven Moreland Committed by Android (Google) Code Review
Browse files

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

parents 8cf1b27b 074111d1
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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();
}