From 1bd80ad7fdf71e437fa650f02366664c27b66b46 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 4 Nov 2010 17:13:39 -0700 Subject: 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 --- core/java/android/view/ViewRoot.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/view/ViewRoot.java b/core/java/android/view/ViewRoot.java index 9c249ceeab27..a039777bca19 100644 --- a/core/java/android/view/ViewRoot.java +++ b/core/java/android/view/ViewRoot.java @@ -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(); } } -- cgit v1.2.3-59-g8ed1b