Merge "Fix memory leak with TouchTargets not being recycled."
This commit is contained in:
committed by
Android (Google) Code Review
commit
382f7a140e
@@ -4627,7 +4627,10 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
|
||||
next = sRecycleBin;
|
||||
sRecycleBin = this;
|
||||
sRecycledCount += 1;
|
||||
} else {
|
||||
next = null;
|
||||
}
|
||||
child = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user