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

Commit a0cdaefe authored by Dan Stoza's avatar Dan Stoza Committed by Android Git Automerger
Browse files

am 744a09eb: am f36738d3: am dca480ff: am 03d7e301: am d87defaf: SF: Allow...

am 744a09eb: am f36738d3: am dca480ff: am 03d7e301: am d87defaf: SF: Allow present if sideband stream changed

* commit '744a09eb':
  SF: Allow present if sideband stream changed
parents 7ea84181 744a09eb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1101,6 +1101,10 @@ void Layer::useEmptyDamage() {
// ----------------------------------------------------------------------------

bool Layer::shouldPresentNow(const DispSync& dispSync) const {
    if (mSidebandStreamChanged) {
        return true;
    }

    Mutex::Autolock lock(mQueueItemLock);
    if (mQueueItems.empty()) {
        return false;