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

Commit b69a5c39 authored by Pierre Couillaud's avatar Pierre Couillaud Committed by android-build-merger
Browse files

Merge "SurfaceFlinger: retain the sideband layer information for composition"...

Merge "SurfaceFlinger: retain the sideband layer information for composition" am: 13286c3b am: 8d5eb540
am: 436f8421

Change-Id: I5986acc1763572143fd475101b065c946662e34e
parents 9d311083 436f8421
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -243,8 +243,9 @@ bool BufferQueueLayer::latchSidebandStream(bool& recomputeVisibleRegions) {
    bool sidebandStreamChanged = true;
    if (mSidebandStreamChanged.compare_exchange_strong(sidebandStreamChanged, false)) {
        // mSidebandStreamChanged was changed to false
        mSidebandStream = mConsumer->getSidebandStream();
        auto& layerCompositionState = getCompositionLayer()->editState().frontEnd;
        layerCompositionState.sidebandStream = mConsumer->getSidebandStream();
        layerCompositionState.sidebandStream = mSidebandStream;
        if (layerCompositionState.sidebandStream != nullptr) {
            setTransactionFlags(eTransactionNeeded);
            mFlinger->setTransactionFlags(eTraversalNeeded);