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

Commit bc347bc7 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

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

Change-Id: I6ebf3026617f18d73478eb4996fe101492bc9b4d
parents 5d6cbc84 a2b9fab5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4676,7 +4676,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);