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

Commit 23fe0ce4 authored by Michael Jurka's avatar Michael Jurka Committed by Android (Google) Code Review
Browse files

Merge "Revert "Re-add performance optimization in View""

parents fcca00ac 67f23ba6
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -6430,12 +6430,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
            }
            final AttachInfo ai = mAttachInfo;
            final ViewParent p = mParent;
            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);
                return;
            }

            if (p != null && ai != null) {
                final Rect r = ai.mTmpInvalRect;