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

Commit 2180506a authored by Arthur Hung's avatar Arthur Hung Committed by Presubmit Automerger Backend
Browse files

[automerge] Trace input only if the layer needs an input info 2p: 4cf2d8c7

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/17630129

Bug: 227316706
Change-Id: Ib6bad68c02c813c8b3665c096755ddf0e467d748
parents 939535f4 4cf2d8c7
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);