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

Commit b7b9a4f5 authored by Ady Abraham's avatar Ady Abraham
Browse files

SF: dump HAL interface version

Test: presubmit
Change-Id: I826e07b8acca5bb4576b73b3a49f3c35e1db934b
parent 07116b95
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -330,7 +330,11 @@ std::string AidlComposer::dumpDebugInfo() {

    t.join();
    close(pipefds[0]);
    return str;

    std::string hash;
    mAidlComposer->getInterfaceHash(&hash);
    return std::string(mAidlComposer->descriptor) +
            " version:" + std::to_string(mComposerInterfaceVersion) + " hash:" + hash + str;
}

void AidlComposer::registerCallback(HWC2::ComposerCallback& callback) {
+1 −0
Original line number Diff line number Diff line
@@ -291,6 +291,7 @@ std::vector<Capability> HidlComposer::getCapabilities() {

std::string HidlComposer::dumpDebugInfo() {
    std::string info;
    info += std::string(mComposer->descriptor) + "\n";
    mComposer->dumpDebugInfo([&](const auto& tmpInfo) { info = tmpInfo.c_str(); });

    return info;