am 8e4a110b: Merge change I5469a4ac into eclair

Merge commit '8e4a110b3e146b30b804d7e2cd0825bf56bd7d0f' into eclair-mr2

* commit '8e4a110b3e146b30b804d7e2cd0825bf56bd7d0f':
  fixed [2260070] display stopped updating
This commit is contained in:
Mathias Agopian 2009-12-01 17:10:08 -08:00 committed by Android Git Automerger
commit 5f1cc4826c

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()