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

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

Merge "Add a parent id to the offscreen layer parent proto"

parents 2d0e948f d5aeb61d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4094,6 +4094,7 @@ void SurfaceFlinger::dumpOffscreenLayersProto(LayersProto& layersProto, uint32_t
    const int32_t offscreenRootLayerId = INT32_MAX - 2;
    rootProto->set_id(offscreenRootLayerId);
    rootProto->set_name("Offscreen Root");
    rootProto->set_parent(-1);

    for (Layer* offscreenLayer : mOffscreenLayers) {
        // Add layer as child of the fake root