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

Commit 3c372789 authored by Romain Guy's avatar Romain Guy Committed by Android (Google) Code Review
Browse files

Merge "Don't dispatchDetachedFromWindow() if the View was not attached." into honeycomb

parents b2c1a5c3 90fc03bc
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();
        }