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

Commit 67a98056 authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Delete unused variable in setUpHWComposer

Test: AUPT and Manual
Change-Id: I53fbd7f9fa83b8729554a021be526a5fb71e2b13
parent ff192d37
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1636,7 +1636,6 @@ void SurfaceFlinger::setUpHWComposer() {
            if (hwcId >= 0) {
                const Vector<sp<Layer>>& currentLayers(
                        displayDevice->getVisibleLayersSortedByZ());
                bool foundLayerWithoutHwc = false;
                for (size_t i = 0; i < currentLayers.size(); i++) {
                    const auto& layer = currentLayers[i];
                    if (!layer->hasHwcLayer(hwcId)) {
@@ -1645,7 +1644,6 @@ void SurfaceFlinger::setUpHWComposer() {
                            layer->setHwcLayer(hwcId, std::move(hwcLayer));
                        } else {
                            layer->forceClientComposition(hwcId);
                            foundLayerWithoutHwc = true;
                            continue;
                        }
                    }