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

Commit 90fc03bc authored by Romain Guy's avatar Romain Guy
Browse files

Don't dispatchDetachedFromWindow() if the View was not attached.

Change-Id: I36cb697be76c8c03497284563dc339c5367559c6
parent f219da5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1780,7 +1780,7 @@ public final class ViewRoot extends Handler implements ViewParent,
    }

    void dispatchDetachedFromWindow() {
        if (mView != null) {
        if (mView != null && mView.mAttachInfo != null) {
            mView.dispatchDetachedFromWindow();
        }