am d87defaf: SF: Allow present if sideband stream changed

* commit 'd87defaf486ff4e9c0066754564851cfb7be49ed':
  SF: Allow present if sideband stream changed
This commit is contained in:
Dan Stoza 2015-07-31 15:44:52 +00:00 committed by Android Git Automerger
commit 03d7e301c8

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;