possibly fix [2265804] OpenGL GLSurfaceView apps don't draw status bar drop shadow correctly

request a layout when asking the transparent region to be recomputed, without this
it may never happen, since the transparent region is only calculated during layout.

this also fixes an issue where some fullscreen apps will run slower than expected
because their transparent region is never processed.

Change-Id: Iba187ef7b23f08ad3454aaa6707a3d262551e30c
This commit is contained in:
Mathias Agopian
2010-11-04 17:13:39 -07:00
parent 17c87d80c6
commit 1bd80ad7fd

View File

@@ -1301,6 +1301,7 @@ public final class ViewRoot extends Handler implements ViewParent,
// Need to make sure we re-evaluate the window attributes next
// time around, to ensure the window has the correct format.
mWindowAttributesChanged = true;
requestLayout();
}
}