Merge commit '102f4dbb2396e779c588862cfb748ebfc333340d' into eclair-mr2-plus-aosp * commit '102f4dbb2396e779c588862cfb748ebfc333340d': fixed [2260070] display stopped updating
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user