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

Commit c9acd7d2 authored by Chet Haase's avatar Chet Haase Committed by Android (Google) Code Review
Browse files

Merge "Fixed null deref when view parent null during invalidation"

parents 3521e220 ea40e9ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6298,7 +6298,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
            }
            final AttachInfo ai = mAttachInfo;
            final ViewParent p = mParent;
            if (ai != null && ai.mHardwareAccelerated) {
            if (p != null && ai != null && ai.mHardwareAccelerated) {
                // fast-track for GL-enabled applications; just invalidate the whole hierarchy
                // with a null dirty rect, which tells the ViewRoot to redraw everything
                p.invalidateChild(this, null);