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

Commit 6fb05630 authored by Romain Guy's avatar Romain Guy
Browse files

Fire view removed event *after* a View is removed

Change-Id: Ia4066002b19c438c90a57ef9c513d82564425640
parent c653df46
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3716,8 +3716,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager

        view.resetRtlProperties();

        onViewRemoved(view);

        needGlobalAttributesUpdate(false);

        removeFromArray(index);
@@ -3730,6 +3728,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
        if (view.isAccessibilityFocused()) {
            view.clearAccessibilityFocus();
        }

        onViewRemoved(view);
    }

    /**