Fixing crash in ViewGroup.dispatchPopulateAccessibilityEvent

1. There was a double call to recycle of a pooled instance
   which was causing an exception. Removed an unnecessary call.

bug:6408689

Change-Id: Ic74b743c6be28ca95ab84b15f28edb5bc95f0a88
This commit is contained in:
Svetoslav Ganov
2012-04-28 15:23:47 -07:00
parent 1d74df2266
commit d7910dd42a

View File

@@ -2438,7 +2438,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
if ((child.mViewFlags & VISIBILITY_MASK) == VISIBLE) {
handled = child.dispatchPopulateAccessibilityEvent(event);
if (handled) {
children.recycle();
return handled;
}
}