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

Commit 08aa4147 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "When user presses the power key while playing a local video, the...

Merge "When user presses the power key while playing a local video, the surfaceflinger will crash." am: 60aac74f

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1920360

Change-Id: I6f9fd73bf8dc31d5ef3f56aedf8b219c119e4763
parents 20934502 60aac74f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ void BufferLayer::preparePerFrameCompositionState() {
                : Hwc2::IComposerClient::Composition::DEVICE;
    }

    compositionState->buffer = mBufferInfo.mBuffer->getBuffer();
    compositionState->buffer = getBuffer();
    compositionState->bufferSlot = (mBufferInfo.mBufferSlot == BufferQueue::INVALID_BUFFER_SLOT)
            ? 0
            : mBufferInfo.mBufferSlot;