From d87defaf486ff4e9c0066754564851cfb7be49ed Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Wed, 29 Jul 2015 16:15:50 -0700 Subject: [PATCH] SF: Allow present if sideband stream changed Allows the sideband layer to be passed all the way to HWC instead of getting blocked by the updated PTS tracking code. Bug: 22291067 Change-Id: Ic2f20a7528e276fff054e86ca35789c26873b348 --- services/surfaceflinger/Layer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index e2418cc37..5ff79a9e3 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -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;