summaryrefslogtreecommitdiff
path: root/core/java/android/view
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-04-28 15:23:47 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-04-28 15:23:51 -0700
commitd7910dd42a24705172f2794de940f715bbc41410 (patch)
tree6445bbaec155400ba1149763cb834686d139049b /core/java/android/view
parent1d74df226619101d905d872c8e609d315409695e (diff)
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
Diffstat (limited to 'core/java/android/view')
-rw-r--r--core/java/android/view/ViewGroup.java1
1 files changed, 0 insertions, 1 deletions
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;
}
}