Merge change I5469a4ac into eclair

* changes:
  fixed [2260070] display stopped updating
This commit is contained in:
Android (Google) Code Review 2009-11-30 11:55:10 -08:00
commit 2688bf49c4

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