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

Commit 67f23ba6 authored by Michael Jurka's avatar Michael Jurka
Browse files

Revert "Re-add performance optimization in View"

Found reproducible cases of Launcher freezing up due to this change

This reverts commit 62490bd3.

Change-Id: I1b10e05ee9f0c43566b53c7a11e61fc168d17a75
parent dcafdb2e
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;