am 8e4a110b: Merge change I5469a4ac into eclair

Merge commit '8e4a110b3e146b30b804d7e2cd0825bf56bd7d0f' into eclair-plus-aosp

* commit '8e4a110b3e146b30b804d7e2cd0825bf56bd7d0f':
  fixed [2260070] display stopped updating
This commit is contained in:
Mathias Agopian
2009-11-30 12:00:53 -08:00
committed by Android Git Automerger

View File

@@ -515,6 +515,11 @@ void Layer::unlockPageFlip(
dirtyRegion.andSelf(visibleRegionScreen);
outDirtyRegion.orSelf(dirtyRegion);
}
if (visibleRegionScreen.isEmpty()) {
// an invisible layer should not hold a freeze-lock
// (because it may never be updated and thereore never release it)
mFreezeLock.clear();
}
}
void Layer::finishPageFlip()