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

Commit b407eca5 authored by chaviw's avatar chaviw Committed by Automerger Merge Worker
Browse files

Fix bug where layers aren't shown in SurfaceFlinger dump. am: a2b9fab5 am: bc347bc7

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

Change-Id: I2bdddd40799122216ad99e1c172d895445c8f980
parents 855db441 bc347bc7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4654,7 +4654,7 @@ status_t SurfaceFlinger::doDump(int fd, const DumpArgs& args, bool asProto) {
                result.append(traceFileProto.SerializeAsString());
            } else {
                // Dump info that we need to access from the main thread
                const auto layerTree = LayerProtoParser::generateLayerTree(layersProto);
                const auto layerTree = LayerProtoParser::generateLayerTree(layersTrace->layers());
                result.append(LayerProtoParser::layerTreeToString(layerTree));
                result.append("\n");
                dumpOffscreenLayers(result);