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

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

Merge "[sf] add a backdoor to disable transaction tracing" into main

parents 4e44dcb1 640261cf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -7027,7 +7027,10 @@ status_t SurfaceFlinger::onTransact(uint32_t code, const Parcel& data, Parcel* r
            }
            case 1041: { // Transaction tracing
                if (mTransactionTracing) {
                    if (data.readInt32()) {
                    int arg = data.readInt32();
                    if (arg == -1) {
                        mTransactionTracing.reset();
                    } else if (arg > 0) {
                        // Transaction tracing is always running but allow the user to temporarily
                        // increase the buffer when actively debugging.
                        mTransactionTracing->setBufferSize(