am e130d6c1: Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev

* commit 'e130d6c14ae2d4a6f703ef452a7e5741d84936a0':
  Remove a bad heuristic when determining click location for accessibility.
This commit is contained in:
Svet Ganov
2014-12-19 22:36:56 +00:00
committed by Android Git Automerger

View File

@@ -5942,8 +5942,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
* @hide
*/
public void addClickableRectsForAccessibility(List<RectF> outRects) {
if (isClickable() || isLongClickable()
|| (mListenerInfo != null && mListenerInfo.mOnTouchListener != null)) {
if (isClickable() || isLongClickable()) {
RectF bounds = new RectF();
bounds.set(0, 0, getWidth(), getHeight());
outRects.add(bounds);