Description[Android] Ensure MotionEvents are always recycled
There were several cases in ContentViewCore where a MotionEvent was obtained
(copied) for offsetting purposes, but was not recycled because of early function
exit. Fix this by recycling the event in the finally clause. Also avoid copying
touch events if the current touch offset is zero.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267980
Patch Set 1 #
Total comments: 1
Patch Set 2 : Silly fix #
Total comments: 2
Patch Set 3 : Code review #Messages
Total messages: 11 (0 generated)
|