Merge "Properly draw the window background on window resize Bug #7385090" into jb-mr1-dev

This commit is contained in:
Romain Guy
2012-10-23 10:47:56 -07:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 3 deletions

View File

@@ -1424,8 +1424,6 @@ public final class ViewRootImpl implements ViewParent,
layerCanvas.setViewport(mWidth, mHeight);
layerCanvas.onPreDraw(null);
final int restoreCount = layerCanvas.save();
layerCanvas.drawColor(0xff000000, PorterDuff.Mode.SRC);
int yoff;
final boolean scrolling = mScroller != null

View File

@@ -179,7 +179,7 @@ status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float
mSaveCount = 1;
mSnapshot->setClip(left, top, right, bottom);
mDirtyClip = opaque;
mDirtyClip = true;
updateLayers();