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

Commit bf07761b 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
am: b69a5c39

Change-Id: I4eda2768e0f8cd2403492cd3308ddf1fa0d014e4
parents dfc85f6d b69a5c39
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -196,8 +196,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);