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

Commit 2f57ba56 authored by Romain Guy's avatar Romain Guy
Browse files

Prevent ProgressBar from slowing down everything.

bug #3422568

Change-Id: I70b322e140a8fdbe504c6984c54a22bcb7b753e7
parent 59301777
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -2224,12 +2224,14 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        final View[] children = mChildren;
        for (int i = 0; i < count; i++) {
            final View child = children[i];
            if ((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null) {
                child.mRecreateDisplayList = (child.mPrivateFlags & INVALIDATED) == INVALIDATED;
                child.mPrivateFlags &= ~INVALIDATED;
                child.getDisplayList();
                child.mRecreateDisplayList = false;
            }
        }
    }

    /**
     * Draw one child of this View Group. This method is responsible for getting