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
This commit is contained in:
Dan Stoza 2015-07-29 16:15:50 -07:00
parent a29db50c44
commit d87defaf48
1 changed files with 4 additions and 0 deletions

View File

@ -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;