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

Commit 19040aa5 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "Make atrace not depend on /dev/hwbinder." am: 228f4bda am: 10c9c24e

am: cb6462ad

Change-Id: I2eee6a195d2ad5c494984e7d385836a892083fa7
parents dfdb951c cb6462ad
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -518,6 +518,12 @@ static void pokeHalServices()
    using ::android::hardware::hidl_string;

    sp<IServiceManager> sm = ::android::hardware::defaultServiceManager();

    if (sm == nullptr) {
        fprintf(stderr, "failed to get IServiceManager to poke hal services\n");
        return;
    }

    auto listRet = sm->list([&](const auto &interfaces) {
        for (size_t i = 0; i < interfaces.size(); i++) {
            string fqInstanceName = interfaces[i];