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

Commit ea40e9ab authored by Chet Haase's avatar Chet Haase
Browse files

Fixed null deref when view parent null during invalidation

Change-Id: I4896b4af69f3a44351465e7524dd7b621050b415
parent e58a5ad0
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);