am 3c372789: Merge "Don\'t dispatchDetachedFromWindow() if the View was not attached." into honeycomb
* commit '3c372789ea0b7836c6a9fe4852fac0de3f29fbbf': Don't dispatchDetachedFromWindow() if the View was not attached.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user