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

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

Merge "SurfaceFlinger: retain the sideband layer information for composition" am: 13286c3b

am: 8d5eb540

Change-Id: I89f1e3173c085c9c46def09d07e6c3e7719437cf
parents d61cf646 8d5eb540
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);