Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bd80ad7 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

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
parent 17c87d80
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
        }
    }