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

Commit d4ec31a5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "TAPL: Tracing only changed part of the context for diags" into ub-launcher3-master

parents 2000228d 2c4e3187
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -256,9 +256,9 @@ public final class LauncherInstrumentation {


    Closable addContextLayer(String piece) {
    Closable addContextLayer(String piece) {
        mDiagnosticContext.addLast(piece);
        mDiagnosticContext.addLast(piece);
        log("Added context: " + getContextDescription());
        log("Entering context: " + piece);
        return () -> {
        return () -> {
            log("Removing context: " + getContextDescription());
            log("Leaving context: " + piece);
            mDiagnosticContext.removeLast();
            mDiagnosticContext.removeLast();
        };
        };
    }
    }