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

Commit b7e075e0 authored by Arthur Hung's avatar Arthur Hung Committed by Android (Google) Code Review
Browse files

Merge changes from topic "presubmit-am-772cf03f1d6d409d8c65ec7a65dc3a45"

* changes:
  [automerge] Trace input only if the layer needs an input info 2p: 4cf2d8c7 2p: 2180506a
  [automerge] Trace input only if the layer needs an input info 2p: 4cf2d8c7
  Trace input only if the layer needs an input info
parents 6570c661 3865b9ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2185,7 +2185,7 @@ void Layer::writeToProtoCommonState(LayerProto* layerInfo, LayerVector::StateSet

    layerInfo->set_owner_uid(mOwnerUid);

    if (traceFlags & LayerTracing::TRACE_INPUT) {
    if ((traceFlags & LayerTracing::TRACE_INPUT) && needsInputInfo()) {
        WindowInfo info;
        if (useDrawing) {
            info = fillInputInfo(ui::Transform(), /* displayIsSecure */ true);