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

Commit 5f44edfb authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "configstore: respect service registration status." am: e8e87df5

am: 9761a112

Change-Id: Ie4094649cf67652ee8af8ba5f49c700c2533abbd
parents 3bb7c80e 9761a112
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -24,10 +24,18 @@ using android::hardware::configureRpcThreadpool;
using android::hardware::registerPassthroughServiceImplementation;
using android::hardware::joinRpcThreadpool;

using android::status_t;
using android::OK;

int main() {
    // TODO(b/34857894): tune the max thread count.
    configureRpcThreadpool(10, true);
    registerPassthroughServiceImplementation<ISurfaceFlingerConfigs>();

    status_t status;

    status = registerPassthroughServiceImplementation<ISurfaceFlingerConfigs>();
    LOG_ALWAYS_FATAL_IF(status != OK, "Could not register ISurfaceFlingerConfigs");

    // other interface registration comes here
    joinRpcThreadpool();
    return 0;