Merge "Remove a bad heuristic when determining click location for accessibility." into lmp-mr1-dev
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user