From d7910dd42a24705172f2794de940f715bbc41410 Mon Sep 17 00:00:00 2001 From: Svetoslav Ganov Date: Sat, 28 Apr 2012 15:23:47 -0700 Subject: 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 --- core/java/android/view/ViewGroup.java | 1 - 1 file changed, 1 deletion(-) (limited to 'core/java/android/view/ViewGroup.java') diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java index 467e285d694a..bb7b3f851213 100644 --- a/core/java/android/view/ViewGroup.java +++ b/core/java/android/view/ViewGroup.java @@ -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; } } -- cgit v1.2.3