Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 602688d0 authored by Svetoslav Ganov's avatar Svetoslav Ganov Committed by The Android Automerger
Browse files

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
parent 5c898286
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
                    }
                }