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

Commit d6a51b11 authored by Selim Cinek's avatar Selim Cinek
Browse files

Dispatching display list recreations also to transient views

Change-Id: If40eb8dec82f8b50bd3fa8abdb376db20a1f742a
Fixes: 75033268
parent 216c28d4
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4285,6 +4285,13 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
                recreateChildDisplayList(child);
            }
        }
        final int transientCount = mTransientViews == null ? 0 : mTransientIndices.size();
        for (int i = 0; i < transientCount; ++i) {
            View child = mTransientViews.get(i);
            if (((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null)) {
                recreateChildDisplayList(child);
            }
        }
        if (mOverlay != null) {
            View overlayView = mOverlay.getOverlayView();
            recreateChildDisplayList(overlayView);