Skip to content

Commit d7910dd

Browse files
committed
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
1 parent 1d74df2 commit d7910dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/java/android/view/ViewGroup.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2438,7 +2438,6 @@ boolean dispatchPopulateAccessibilityEventInternal(AccessibilityEvent event) {
24382438
if ((child.mViewFlags & VISIBILITY_MASK) == VISIBLE) {
24392439
handled = child.dispatchPopulateAccessibilityEvent(event);
24402440
if (handled) {
2441-
children.recycle();
24422441
return handled;
24432442
}
24442443
}

0 commit comments

Comments
 (0)