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

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

am d87defaf: SF: Allow present if sideband stream changed

* commit 'd87defaf':
  SF: Allow present if sideband stream changed
parents e2806cb4 d87defaf
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;