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

Commit 8226051f authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

[SurfaceFlinger] Comment SurfaceFlinger HWC2

Document decision to clear SurfaceFlinger HWC2 state upon sleep and
awake.

Test: This is just a comment.
Change-Id: I0034d8d79e6e0d5b6287579d23f941e291c89bc0
parent 1ed3d793
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1595,6 +1595,9 @@ void SurfaceFlinger::rebuildLayerStacks() {
                                    nullptr);
                        }
                    } else {
                        // WM changes displayDevice->layerStack upon sleep/awake.
                        // Here we make sure we delete the HWC layers even if
                        // WM changed their layer stack.
                        layer->setHwcLayer(displayDevice->getHwcDisplayId(),
                                nullptr);
                    }