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

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

Merge "Get layer trace status from SurfaceFlinger service"

parents 44c26300 87704c94
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -4245,7 +4245,7 @@ status_t SurfaceFlinger::onTransact(
                reply->writeBool(hasWideColorDisplay);
                return NO_ERROR;
            }
            case 1025: { // tracing
            case 1025: { // Set layer tracing
                n = data.readInt32();
                if (n) {
                    ALOGV("LayerTracing enabled");
@@ -4259,6 +4259,10 @@ status_t SurfaceFlinger::onTransact(
                }
                return NO_ERROR;
            }
            case 1026: { // Get layer tracing status
                reply->writeBool(mTracing.isEnabled());
                return NO_ERROR;
            }
        }
    }
    return err;