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

Commit 39c91d0a authored by Vishnu Nair's avatar Vishnu Nair Committed by Automerger Merge Worker
Browse files

Merge "Add handleAlive in logs for child layers for layer leaks." into main am: c710884e

parents 5cba717d c710884e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4192,7 +4192,8 @@ status_t SurfaceFlinger::addClientLayer(LayerCreationArgs& args, const sp<IBinde
                    int sampleSize = (layer->getChildrenCount() / 100) + 1;
                    layer->traverseChildren([&](Layer* layer) {
                        if (rand() % sampleSize == 0) {
                            ALOGE("Child Layer: %s", layer->getName().c_str());
                            ALOGE("Child Layer: %s%s", layer->getName().c_str(),
                                  (layer->isHandleAlive() ? "handleAlive" : ""));
                        }
                    });
                }