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

Commit 6ae1224a authored by Vishnu Nair's avatar Vishnu Nair Committed by Android (Google) Code Review
Browse files

Merge "LayerTraceGenerator: fix log spam from stubbed sf"

parents 43d28cbc 5d60bbec
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -52,6 +52,10 @@ int main(int argc, char** argv) {
    ;
    ALOGD("Generating %s...", outputLayersTracePath);
    std::cout << "Generating " << outputLayersTracePath << "\n";

    // sink any log spam from the stubbed surfaceflinger
    __android_log_set_logger([](const struct __android_log_message* /* log_message */) {});

    if (!LayerTraceGenerator().generate(transactionTraceFile, outputLayersTracePath)) {
        std::cout << "Error: Failed to generate layers trace " << outputLayersTracePath;
        return -1;