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

Commit 67a2f7b5 authored by Romain Guy's avatar Romain Guy
Browse files

Never skip drawing SurfaceViews.

Change-Id: I07fbc632b01d96cee16b6e000e0cbf05238a442b
parent 99bcdc52
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2188,7 +2188,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        
        float alpha = child.getAlpha();
        // Bail out early if the view does not need to be drawn
        if (alpha <= ViewConfiguration.ALPHA_THRESHOLD && (child.mPrivateFlags & ALPHA_SET) == 0) {
        if (alpha <= ViewConfiguration.ALPHA_THRESHOLD && (child.mPrivateFlags & ALPHA_SET) == 0 &&
                !(child instanceof SurfaceView)) {
            return more;
        }