Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev
This commit is contained in:
@@ -888,9 +888,10 @@ public final class ViewRootImpl implements ViewParent,
|
|||||||
// updates that lie outside of the visible region
|
// updates that lie outside of the visible region
|
||||||
final float appScale = mAttachInfo.mApplicationScale;
|
final float appScale = mAttachInfo.mApplicationScale;
|
||||||
if (localDirty.intersect(0, 0,
|
if (localDirty.intersect(0, 0,
|
||||||
(int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f)) &&
|
(int) (mWidth * appScale + 0.5f), (int) (mHeight * appScale + 0.5f))) {
|
||||||
!mWillDrawSoon) {
|
if (!mWillDrawSoon) {
|
||||||
scheduleTraversals();
|
scheduleTraversals();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
localDirty.setEmpty();
|
localDirty.setEmpty();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user